diff options
author | vanhauser-thc <vh@thc.org> | 2021-02-07 16:19:27 +0100 |
---|---|---|
committer | vanhauser-thc <vh@thc.org> | 2021-02-07 16:19:27 +0100 |
commit | c465e48e27bb928704031234366934da6c9a1ab0 (patch) | |
tree | c05222b75c10bca8856ebd824a4f79fb4067c20c | |
parent | c2c65fd9c1cc3604200bc6ae62e2a1a7e6950a0e (diff) | |
download | afl++-c465e48e27bb928704031234366934da6c9a1ab0.tar.gz |
remove AFL_CC from unset list to allow success for unusual environments
-rw-r--r-- | GNUmakefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/GNUmakefile b/GNUmakefile index b0ab1ab0..4ba5d3b3 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -519,7 +519,7 @@ code-format: ifndef AFL_NO_X86 test_build: afl-cc afl-gcc afl-as afl-showmap @echo "[*] Testing the CC wrapper afl-cc and its instrumentation output..." - @unset AFL_MAP_SIZE AFL_USE_UBSAN AFL_USE_CFISAN AFL_USE_ASAN AFL_USE_MSAN AFL_CC; ASAN_OPTIONS=detect_leaks=0 AFL_INST_RATIO=100 AFL_PATH=. ./afl-cc test-instr.c -o test-instr 2>&1 || (echo "Oops, afl-cc failed"; exit 1 ) + @unset AFL_MAP_SIZE AFL_USE_UBSAN AFL_USE_CFISAN AFL_USE_ASAN AFL_USE_MSAN; ASAN_OPTIONS=detect_leaks=0 AFL_INST_RATIO=100 AFL_PATH=. ./afl-cc test-instr.c -o test-instr 2>&1 || (echo "Oops, afl-cc failed"; exit 1 ) ASAN_OPTIONS=detect_leaks=0 ./afl-showmap -m none -q -o .test-instr0 ./test-instr < /dev/null echo 1 | ASAN_OPTIONS=detect_leaks=0 ./afl-showmap -m none -q -o .test-instr1 ./test-instr @rm -f test-instr |