aboutsummaryrefslogtreecommitdiff
path: root/docs/env_variables.md
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2020-05-06 11:51:28 +0200
committervan Hauser <vh@thc.org>2020-05-06 11:51:28 +0200
commit80ddb484deb82aefc9ba35c766ffca313d74e377 (patch)
treeb0aa9e3ecacc75550d63d1d66d6d098219958e2b /docs/env_variables.md
parentb4e3f22259397629f1e2a66dd17c36d19c4ecb0d (diff)
downloadafl++-80ddb484deb82aefc9ba35c766ffca313d74e377.tar.gz
added InsTrimLTO :-)
Diffstat (limited to 'docs/env_variables.md')
-rw-r--r--docs/env_variables.md11
1 files changed, 10 insertions, 1 deletions
diff --git a/docs/env_variables.md b/docs/env_variables.md
index ed81c8a3..f5d28981 100644
--- a/docs/env_variables.md
+++ b/docs/env_variables.md
@@ -116,6 +116,9 @@ Then there are a few specific features that are only available in llvm_mode:
afl-clang-lto/afl-clang-lto++ instead of afl-clang-fast, but is only
built if LLVM 11 or newer is used.
+ - AFL_LLVM_INSTRUMENT=CFG will use Control Flow Graph instrumentation.
+ (recommended)
+
- AFL_LLVM_LTO_AUTODICTIONARY will generate a dictionary in the target
binary based on string compare and memory compare functions.
afl-fuzz will automatically get these transmitted when starting to
@@ -139,7 +142,13 @@ Then there are a few specific features that are only available in llvm_mode:
### INSTRIM
- This feature increases the speed by ~15% without any disadvantages.
+ This feature increases the speed by ~15% without any disadvantages to the
+ classic instrumentation.
+
+ Note that there is also an LTO version (if you have llvm 11 or higher) -
+ that is the best instrumentation we have. Use `afl-clang-lto` to activate.
+ The InsTrim LTO version additionally has all the options and features of
+ LTO (see above).
- Setting AFL_LLVM_INSTRIM or AFL_LLVM_INSTRUMENT=CFG to activates this mode