diff options
author | hexcoder- <heiko@hexco.de> | 2020-04-08 18:16:08 +0200 |
---|---|---|
committer | hexcoder- <heiko@hexco.de> | 2020-04-08 18:16:08 +0200 |
commit | b32b9bd1d50324ae1f0219c5f161785f84db1851 (patch) | |
tree | 9e210af00265939fc2de497c9f3686a7a9495ec3 | |
parent | 133a8cea1c56e58497c5e32de2a8fc8d72d56074 (diff) | |
download | afl++-b32b9bd1d50324ae1f0219c5f161785f84db1851.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 |