about summary refs log tree commit diff
diff options
context:
space:
mode:
authorHeiko Eißfeldt <heiko@hexco.de>2019-06-04 20:59:45 +0200
committerHeiko Eißfeldt <heiko@hexco.de>2019-06-04 20:59:45 +0200
commitbcc0347eefa05275cea221f8baad8abe7e091872 (patch)
tree0de93a2eacdff4b29bbd90cd9df67941189c3e25
parent8b29c34027537596953343cace817fdabaad250f (diff)
downloadafl++-bcc0347eefa05275cea221f8baad8abe7e091872.tar.gz
enable laf-intel passes in the test compilation to check instrumentation 2.52c
-rw-r--r--llvm_mode/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm_mode/Makefile b/llvm_mode/Makefile
index 441f8877..6b277536 100644
--- a/llvm_mode/Makefile
+++ b/llvm_mode/Makefile
@@ -110,7 +110,7 @@ endif
 
 test_build: $(PROGS)
 	@echo "[*] Testing the CC wrapper and instrumentation output..."
-	unset AFL_USE_ASAN AFL_USE_MSAN AFL_INST_RATIO; AFL_QUIET=1 AFL_PATH=. AFL_CC=$(CC) ../afl-clang-fast $(CFLAGS) ../test-instr.c -o test-instr $(LDFLAGS)
+	unset AFL_USE_ASAN AFL_USE_MSAN AFL_INST_RATIO; AFL_QUIET=1 AFL_PATH=. AFL_CC=$(CC) LAF_SPLIT_SWITCHES=1 LAF_TRANSFORM_COMPARES=1 LAF_SPLIT_COMPARES=1 ../afl-clang-fast $(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