diff options
author | van Hauser <vh@thc.org> | 2020-04-06 13:33:49 +0200 |
---|---|---|
committer | van Hauser <vh@thc.org> | 2020-04-06 13:33:49 +0200 |
commit | 452acf3a752f3ff360a5eebc526567cd3ba9a407 (patch) | |
tree | 245765666a782044c6015d7c8774d89bc8eba210 /llvm_mode/README.instrim.md | |
parent | 5ad50adaa86336f1f293d57fa70ba57de51cf5dd (diff) | |
download | afl++-452acf3a752f3ff360a5eebc526567cd3ba9a407.tar.gz |
added AFL_LLVM_INSTRUMENT, made USE_TRACE_PC obselete and llvm_mode Makefile fix, fixed for FUSELD (for LTO)
Diffstat (limited to 'llvm_mode/README.instrim.md')
-rw-r--r-- | llvm_mode/README.instrim.md | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/llvm_mode/README.instrim.md b/llvm_mode/README.instrim.md index 5c3f32c8..b905af11 100644 --- a/llvm_mode/README.instrim.md +++ b/llvm_mode/README.instrim.md @@ -5,13 +5,12 @@ InsTrim: Lightweight Instrumentation for Coverage-guided Fuzzing ## Introduction InsTrim uses CFG and markers to instrument just what is necessary in the -binary in llvm_mode. It is about 20-25% faster but as a cost has a lower -path discovery. +binary in llvm_mode. It is about 10-15% faster without disadvantages. ## Usage -Set the environment variable `AFL_LLVM_INSTRIM=1` during compilation of -the target. +Set the environment variable `AFL_LLVM_INSTRUMENT=CFG` or `AFL_LLVM_INSTRIM=1` +during compilation of the target. There is also an advanced mode which instruments loops in a way so that afl-fuzz can see which loop path has been selected but not being able to |