about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorJoshua Rogers <jrogers@opera.com>2021-12-30 03:09:04 +0100
committerJoshua Rogers <jrogers@opera.com>2021-12-30 03:09:04 +0100
commit8b75680c7a142bfea0f4147aaa5bef9997b47d6c (patch)
tree20574ba60ed9877216ac5ca3561faa5377e92eb8 /src
parent09c4d9ed7574c78bc89edda230e9396d1e79f795 (diff)
downloadafl++-8b75680c7a142bfea0f4147aaa5bef9997b47d6c.tar.gz
Fix type.
Diffstat (limited to 'src')
-rw-r--r--src/afl-cc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/afl-cc.c b/src/afl-cc.c
index d7c71e7d..9e5eed93 100644
--- a/src/afl-cc.c
+++ b/src/afl-cc.c
@@ -878,7 +878,7 @@ static void edit_params(u32 argc, char **argv, char **envp) {
     cc_params[cc_par_cnt++] = "-includesanitizer/lsan_interface.h";
     cc_params[cc_par_cnt++] = "-D__AFL_LEAK_CHECK()={if(__lsan_do_recoverable_leak_check() > 0) _exit(23); }";
     cc_params[cc_par_cnt++] = "-D__AFL_LSAN_OFF()=__lsan_disable();";
-    cc_params[cc_par_cnt++] = "-D__AFL_LSAN_ON()=__lsan_disable();";
+    cc_params[cc_par_cnt++] = "-D__AFL_LSAN_ON()=__lsan_enable();";
 
 
   }