about summary refs log tree commit diff
path: root/llvm_mode/README.neverzero.md
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2020-05-02 00:39:13 +0200
committervan Hauser <vh@thc.org>2020-05-02 00:39:13 +0200
commit378573ab8b2f9b150429503c649e86e0fed4e946 (patch)
tree42fe481e36f554bd4f0033b5b96b422839b3cafb /llvm_mode/README.neverzero.md
parent33ddf6ea0e090ec2ef18dfa7c53b4dfe8130de26 (diff)
downloadafl++-378573ab8b2f9b150429503c649e86e0fed4e946.tar.gz
AFL_LLVM_SKIP_NEVERZERO added
Diffstat (limited to 'llvm_mode/README.neverzero.md')
-rw-r--r--llvm_mode/README.neverzero.md10
1 files changed, 9 insertions, 1 deletions
diff --git a/llvm_mode/README.neverzero.md b/llvm_mode/README.neverzero.md
index 1e406560..903e5bd3 100644
--- a/llvm_mode/README.neverzero.md
+++ b/llvm_mode/README.neverzero.md
@@ -20,8 +20,16 @@ This is implemented in afl-gcc, however for llvm_mode this is optional if
 the llvm version is below 9 - as there is a perfomance bug that is only fixed
 in version 9 and onwards.
 
-If you want to enable this for llvm < 9 then set
+If you want to enable this for llvm versions below 9 then set
 
 ```
 export AFL_LLVM_NOT_ZERO=1
 ```
+
+In case you are on llvm 9 or greater and you do not want this behaviour then
+you can set:
+```
+AFL_LLVM_SKIP_NEVERZERO=1
+```
+If the target does not have extensive loops or functions that are called
+a lot then this can give a small performance boost.