Skip to content

Commit 6a0e9b6

Browse files
committed
README: Update for recent changes
1 parent 3448ca9 commit 6a0e9b6

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
# Instrew — LLVM-based Dynamic Binary Instrumentation
1+
# Instrew — LLVM-based Dynamic Binary Translation
22

33
[![builds.sr.ht status](https://builds.sr.ht/~aengelke/instrew/commits/master.svg)](https://builds.sr.ht/~aengelke/instrew/commits/master?)
44

5-
Instrew is a performance-targeted transparent dynamic binary translator/instrumenter based on LLVM. Currently supported source/guest architectures are x86-64, AArch64, and RISC-V64 (rv64imafdc); supported host architectures are x86-64 and AArch64. The original code is lifted to LLVM-IR using [Rellume](https://github.com/aengelke/rellume), where it can be modified and from which new machine code is generated using LLVM's JIT compiler.
5+
Instrew is a performance-targeted transparent dynamic binary translator(/instrumenter) based on LLVM. Currently supported source/guest architectures are x86-64, AArch64, and RISC-V64 (rv64imafdc); supported host architectures are x86-64 and AArch64. The original code is lifted to LLVM-IR using [Rellume](https://github.com/aengelke/rellume), where it can be modified and from which new machine code is generated using LLVM's JIT compiler.
66

77
### Using Instrew
88

@@ -27,11 +27,11 @@ You can also use some options to customize the translation:
2727
- `-profile`: print information about the time used for translation.
2828
- `-callret`: enable call–return optimization. Often gives higher run-time performance at higher translation-time.
2929
- `-targetopt=n`: set LLVM optimization level, 0-3. Default is 3, use 0 for FastISel.
30-
- `-callconv=0`: use C calling convention instead of architecture-specific optimized calling convention; primarily useful for debugging.
30+
- `-fastcc=0`: use C calling convention instead of architecture-specific optimized calling convention; primarily useful for debugging.
3131
- `-perf=n`: enable perf support. 1=generate memory map, 2=generate JITDUMP
32-
- `-dumpir=n`: print IR at different stages, 1=after lifting, 2=after callconv adjustment/instrumentation, 4=after optimization, 8=after codegen. These values can be OR-ed for multiple dumps. Generates lots of output.
32+
- `-dumpir={lift,cc,opt,codegen}`: print IR after the specified stage. Generates lots of output.
3333
- `-dumpobj`: dump compiled code into object files in the current working directory.
34-
- All options are listed in [server/config.inc](server/config.inc).
34+
- `-help`/`-help-hidden` shows more options.
3535

3636
Example:
3737

0 commit comments

Comments
 (0)