about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJoshua Rogers <jrogers@opera.com>2021-04-03 14:57:52 +0000
committerJoshua Rogers <jrogers@opera.com>2021-04-03 14:57:52 +0000
commitfee74700836c3694c2037c1e708846150e52d5bd (patch)
tree71009c0d134918cee5fb69e4503618815f647232
parentafc4da47f78a24d5e441e3815e5b322d1b27fd56 (diff)
downloadafl++-fee74700836c3694c2037c1e708846150e52d5bd.tar.gz
Remove check for exit_code on LSAN and replace it with check for
symbolize=0.
-rw-r--r--src/afl-tmin.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/afl-tmin.c b/src/afl-tmin.c
index c257b67c..3a196e2e 100644
--- a/src/afl-tmin.c
+++ b/src/afl-tmin.c
@@ -716,10 +716,9 @@ static void set_up_environment(afl_forkserver_t *fsrv) {
 
   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!");
 
     }