aboutsummaryrefslogtreecommitdiff
path: root/GNUmakefile
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2020-10-26 14:44:05 +0100
committervan Hauser <vh@thc.org>2020-10-26 14:44:05 +0100
commit44c65fa0a0eb0a0382d8b80fa0c8fd3bf25b687d (patch)
tree7fc920e481ec4b199f3fa866b14b6a1aac9c1620 /GNUmakefile
parent029d44a6eca8d11a4c545cfc46accedd63ccb8f2 (diff)
downloadAFLplusplus-44c65fa0a0eb0a0382d8b80fa0c8fd3bf25b687d.tar.gz
add no splicing compile option and print used compile options in afl-fuzz help
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/GNUmakefile b/GNUmakefile
index ce0e1247..c8d155e4 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -36,6 +36,10 @@ SH_PROGS = afl-plot afl-cmin afl-cmin.bash afl-whatsup afl-system-config
MANPAGES=$(foreach p, $(PROGS) $(SH_PROGS), $(p).8) afl-as.8
ASAN_OPTIONS=detect_leaks=0
+ifdef NO_SPLICING
+ override CFLAGS += -DNO_SPLICING
+endif
+
ifdef ASAN_BUILD
$(info Compiling ASAN version of binaries)
override CFLAGS+=$(ASAN_CFLAGS)
@@ -344,7 +348,10 @@ help:
@echo ASAN_BUILD - compiles with memory sanitizer for debug purposes
@echo DEBUG - no optimization, -ggdb3, all warnings and -Werror
@echo PROFILING - compile afl-fuzz with profiling information
+ @echo NO_PYTHON - disable python support
+ @echo NO_SPLICING - disables splicing mutation in afl-fuzz, not recommended for normal fuzzing
@echo AFL_NO_X86 - if compiling on non-intel/amd platforms
+ @echo "LLVM_CONFIG - if your distro doesn't use the standard name for llvm-config (e.g. Debian)"
@echo "=========================================="
@echo e.g.: make ASAN_BUILD=1