about summary refs log tree commit diff
path: root/llvm_mode/afl-clang-fast.c
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2020-08-20 11:00:07 +0200
committerGitHub <noreply@github.com>2020-08-20 11:00:07 +0200
commit572944d7267e3612ef8da17a180bc3d8f1a958a7 (patch)
treed2110370094b94f1ed0b2ece83ed32fb8de86b15 /llvm_mode/afl-clang-fast.c
parent17d403b8f873bcadf3fc507f9b49fe4bc0dda162 (diff)
parent779d8f6b7e3454fcfd7a43c4cf54d72ea025e67d (diff)
downloadafl++-572944d7267e3612ef8da17a180bc3d8f1a958a7.tar.gz
Merge pull request #514 from AFLplusplus/dev
push to stable
Diffstat (limited to 'llvm_mode/afl-clang-fast.c')
-rw-r--r--llvm_mode/afl-clang-fast.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm_mode/afl-clang-fast.c b/llvm_mode/afl-clang-fast.c
index 99b17430..72b81922 100644
--- a/llvm_mode/afl-clang-fast.c
+++ b/llvm_mode/afl-clang-fast.c
@@ -978,8 +978,11 @@ int main(int argc, char **argv, char **envp) {
         "AFL_DONT_OPTIMIZE: disable optimization instead of -O3\n"
         "AFL_HARDEN: adds code hardening to catch memory bugs\n"
         "AFL_INST_RATIO: percentage of branches to instrument\n"
+#if LLVM_VERSION_MAJOR < 9
         "AFL_LLVM_NOT_ZERO: use cycling trace counters that skip zero\n"
+#else
         "AFL_LLVM_SKIP_NEVERZERO: do not skip zero on trace counters\n"
+#endif
         "AFL_LLVM_LAF_SPLIT_COMPARES: enable cascaded comparisons\n"
         "AFL_LLVM_LAF_SPLIT_COMPARES_BITW: size limit (default 8)\n"
         "AFL_LLVM_LAF_SPLIT_SWITCHES: casc. comp. in 'switch'\n"