diff options
author | hexcoder- <heiko@hexco.de> | 2020-04-08 18:16:08 +0200 |
---|---|---|
committer | van Hauser <vh@thc.org> | 2020-04-09 10:23:37 +0200 |
commit | 5c0cf60ec142117060b8fbe15ab18c9412d2ba95 (patch) | |
tree | 9e210af00265939fc2de497c9f3686a7a9495ec3 | |
parent | 698caed9c0b8c06d2576dcc866f654d6ada74235 (diff) | |
download | afl++-5c0cf60ec142117060b8fbe15ab18c9412d2ba95.tar.gz |
fix damage in test.sh
-rwxr-xr-x | test/test.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/test.sh b/test/test.sh index f6725dad..871345f0 100755 --- a/test/test.sh +++ b/test/test.sh @@ -575,7 +575,7 @@ test -e ../afl-gcc-fast -a -e ../afl-gcc-rt.o && { CODE=1 } rm -f test-persistent - export AFL_CC=${SAVE_AFL_CC} # restore the default compiler + export AFL_CC=${SAVE_AFL_CC} } || { $ECHO "$YELLOW[-] gcc_plugin not compiled, cannot test" INCOMPLETE=1 @@ -903,6 +903,7 @@ test "1" = "`../afl-fuzz | grep -i 'without python' >/dev/null; echo $?`" && { CUSTOM_MUTATOR_PATH=$( readlink -f ../examples/custom_mutators ) } test -e test-custom-mutator.c -a -e ${CUSTOM_MUTATOR_PATH}/example.c -a -e ${CUSTOM_MUTATOR_PATH}/example.py && { + unset AFL_CC # Compile the vulnerable program ../afl-clang-fast -o test-custom-mutator test-custom-mutator.c > /dev/null 2>&1 # Compile the custom mutator |