diff options
author | floyd <floyd@floyd.ch> | 2019-08-06 16:39:42 +0200 |
---|---|---|
committer | floyd <floyd@floyd.ch> | 2019-08-06 16:39:42 +0200 |
commit | ccb231e4f47692bf7f8594c65f120cf741984651 (patch) | |
tree | 770432c1ef63a68d6f329149fc373933e6125b05 | |
parent | 7ca22cd552ff21ac0ef7cc1ab5e6e71912752a58 (diff) | |
download | afl++-ccb231e4f47692bf7f8594c65f120cf741984651.tar.gz |
set AFL_CC correctly, if set to afl-clang but TEST_CC is afl-gcc, this will fail
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile index 4103dbfa..e3e0a38c 100644 --- a/Makefile +++ b/Makefile @@ -157,7 +157,7 @@ ifndef AFL_NO_X86 test_build: afl-gcc afl-as afl-showmap @echo "[*] Testing the CC wrapper and instrumentation output..." - unset AFL_USE_ASAN AFL_USE_MSAN; AFL_QUIET=1 AFL_INST_RATIO=100 AFL_PATH=. ./$(TEST_CC) $(CFLAGS) test-instr.c -o test-instr $(LDFLAGS) + unset AFL_USE_ASAN AFL_USE_MSAN; AFL_CC=$(TEST_CC) AFL_QUIET=1 AFL_INST_RATIO=100 AFL_PATH=. ./$(TEST_CC) $(CFLAGS) test-instr.c -o test-instr $(LDFLAGS) echo 0 | ./afl-showmap -m none -q -o .test-instr0 ./test-instr echo 1 | ./afl-showmap -m none -q -o .test-instr1 ./test-instr @rm -f test-instr |