about summary refs log tree commit diff
diff options
context:
space:
mode:
authorvanhauser-thc <vh@thc.org>2023-03-10 15:16:55 +0100
committervanhauser-thc <vh@thc.org>2023-03-10 15:16:55 +0100
commitc3cf918bcb6190bcce450acf96115dc03cd4ebfd (patch)
tree98671be96276e7fd1f5e0d5c919b2c84126ee356
parentaf77dab66661b49c4082bfdf05d681a3a3f12e25 (diff)
downloadafl++-c3cf918bcb6190bcce450acf96115dc03cd4ebfd.tar.gz
macos ci debug
-rw-r--r--GNUmakefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/GNUmakefile b/GNUmakefile
index 80341b73..9be52806 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -547,9 +547,7 @@ 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_LSAN AFL_USE_ASAN AFL_USE_MSAN; ASAN_OPTIONS=detect_leaks=0 AFL_INST_RATIO=100 AFL_PATH=. ./afl-cc test-instr.c $(LDFLAGS) -o test-instr 2>&1 || (echo "Oops, afl-cc failed"; exit 1 )
 	echo debug -1
-	ls -l ./test-instr
-	-strings ./test-instr | grep afl
-	ASAN_OPTIONS=detect_leaks=0 ./afl-showmap -m none -q -o .test-instr0 ./test-instr < /dev/null
+	AFL_DEBUG=1 ASAN_OPTIONS=detect_leaks=0 ./afl-showmap -m none -o .test-instr0 ./test-instr < /dev/null
 	echo debug 0
 	-echo 1 | ASAN_OPTIONS=detect_leaks=0 ./afl-showmap -m none -q -o .test-instr1 ./test-instr
 	echo debug 1