about summary refs log tree commit diff
path: root/docs/env_variables.txt
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2019-07-05 13:27:53 +0200
committerGitHub <noreply@github.com>2019-07-05 13:27:53 +0200
commit18e031d3464b1c93d426299d270fea62d481bb11 (patch)
tree8ef28842ef80063972b925faea1c3dd883d4eb3d /docs/env_variables.txt
parentb57b2073acf85e985f513a12d8aae725f8942689 (diff)
parentc0332ad98b84bad3798cbe23d36b07423f216479 (diff)
downloadafl++-18e031d3464b1c93d426299d270fea62d481bb11.tar.gz
Merge pull request #11 from vanhauser-thc/neverZero_counters
Never zero counters added
Diffstat (limited to 'docs/env_variables.txt')
-rw-r--r--docs/env_variables.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/env_variables.txt b/docs/env_variables.txt
index 2a824766..d854ea8d 100644
--- a/docs/env_variables.txt
+++ b/docs/env_variables.txt
@@ -106,6 +106,14 @@ Then there are a few specific features that are only available in llvm_mode:
 
     See llvm_mode/README.whitelist for more information.
 
+  OTHER
+  =====
+    - Setting export AFL_LLVM_NOT_ZERO=1 during compilation will use counters
+      that skip zero on overflow. This is the default for llvm >= 9,
+      however for llvm versions below that this will increase an unnecessary
+      slowdown due a performance issue that is only fixed in llvm 9+.
+      This feature increases path discovery by a little bit.
+
 Note that AFL_INST_RATIO will behave a bit differently than for afl-gcc,
 because functions are *not* instrumented unconditionally - so low values
 will have a more striking effect. For this tool, 0 is not a valid choice.