about summary refs log tree commit diff
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2020-04-15 23:01:33 +0200
committervan Hauser <vh@thc.org>2020-04-15 23:01:33 +0200
commit2ce6e7a7fb5aedf058dc549e57610cee166508d2 (patch)
tree08eff2f3322c71f310362c975eee77ac7ea2ccdf
parent83d5864203570c15a8059e3cb1706ce5bea2f73a (diff)
downloadafl++-2ce6e7a7fb5aedf058dc549e57610cee166508d2.tar.gz
fix laf-intel transform disable
-rw-r--r--llvm_mode/afl-clang-fast.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm_mode/afl-clang-fast.c b/llvm_mode/afl-clang-fast.c
index 082e307a..84ebeb9a 100644
--- a/llvm_mode/afl-clang-fast.c
+++ b/llvm_mode/afl-clang-fast.c
@@ -223,8 +223,8 @@ static void edit_params(u32 argc, char **argv, char **envp) {
 
   }
 
-  if (!getenv("AFL_LLVM_LTO_AUTODICTIONARY") // disabled when autodictionary
-    && instrument_mode != INSTRUMENT_LTO     // and lto_mode is used
+  if ((!(getenv("AFL_LLVM_LTO_AUTODICTIONARY") // disabled when autodictionary
+    && instrument_mode != INSTRUMENT_LTO))     // and lto_mode is used
     && (getenv("LAF_TRANSFORM_COMPARES") ||
         getenv("AFL_LLVM_LAF_TRANSFORM_COMPARES"))) {