about summary refs log tree commit diff
path: root/src/afl-fuzz-init.c
diff options
context:
space:
mode:
authorJoshua Rogers <jrogers@opera.com>2021-04-03 14:50:35 +0000
committerJoshua Rogers <jrogers@opera.com>2021-04-03 14:50:35 +0000
commitafc4da47f78a24d5e441e3815e5b322d1b27fd56 (patch)
treec4f0b9f69f50d3c59e1733fadbc8a689ed638ee1 /src/afl-fuzz-init.c
parent6514e33ab6733dd4e7ae0d3eeec83db06b3f451f (diff)
downloadafl++-afc4da47f78a24d5e441e3815e5b322d1b27fd56.tar.gz
Fix typos,
Use symbolize=0 for LSAN,
Remove syntactic sugar.
Diffstat (limited to 'src/afl-fuzz-init.c')
-rw-r--r--src/afl-fuzz-init.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/afl-fuzz-init.c b/src/afl-fuzz-init.c
index 24f5c5b5..6f663021 100644
--- a/src/afl-fuzz-init.c
+++ b/src/afl-fuzz-init.c
@@ -2470,10 +2470,9 @@ void check_asan_opts(afl_state_t *afl) {
 
   if (x) {
 
-    if (!strstr(x, "exit_code=" STRINGIFY(LSAN_ERROR))) {
+    if (!strstr(x, "symbolize=0")) {
 
-      FATAL("Custom LSAN_OPTIONS set without exit_code=" STRINGIFY(
-          LSAN_ERROR) " - please fix!");
+      FATAL("Custom LSAN_OPTIONS set without symbolize=0 - please fix!");
 
     }