diff options
author | Joshua Rogers <jrogers@opera.com> | 2021-04-03 14:50:35 +0000 |
---|---|---|
committer | Joshua Rogers <jrogers@opera.com> | 2021-04-03 14:50:35 +0000 |
commit | afc4da47f78a24d5e441e3815e5b322d1b27fd56 (patch) | |
tree | c4f0b9f69f50d3c59e1733fadbc8a689ed638ee1 /src/afl-analyze.c | |
parent | 6514e33ab6733dd4e7ae0d3eeec83db06b3f451f (diff) | |
download | afl++-afc4da47f78a24d5e441e3815e5b322d1b27fd56.tar.gz |
Fix typos,
Use symbolize=0 for LSAN, Remove syntactic sugar.
Diffstat (limited to 'src/afl-analyze.c')
-rw-r--r-- | src/afl-analyze.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/afl-analyze.c b/src/afl-analyze.c index f961f13a..38a40556 100644 --- a/src/afl-analyze.c +++ b/src/afl-analyze.c @@ -785,10 +785,9 @@ static void set_up_environment(void) { 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!"); } @@ -833,7 +832,8 @@ static void set_up_environment(void) { setenv("LSAN_OPTIONS", "exitcode=" STRINGIFY(LSAN_ERROR) ":" - "fast_unwind_on_malloc=0", + "fast_unwind_on_malloc=0:" + "symbolize=0", 0); |