aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvanhauser-thc <vh@thc.org>2022-07-25 11:15:14 +0200
committervanhauser-thc <vh@thc.org>2022-07-25 11:15:14 +0200
commit67fabcb0be1f48f671a061fd26dd321fdc3425a0 (patch)
treeb4e7010aa19ecc2fe1f816924b3f271ca37f8515
parent7b7914e1d6e5557640bb555a40692bfbda32462e (diff)
downloadafl++-67fabcb0be1f48f671a061fd26dd321fdc3425a0.tar.gz
update compile options
-rw-r--r--GNUmakefile5
-rw-r--r--docs/INSTALL.md10
2 files changed, 11 insertions, 4 deletions
diff --git a/GNUmakefile b/GNUmakefile
index b6865f0c..04d1411d 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -367,13 +367,16 @@ help:
@echo Known build environment options:
@echo "=========================================="
@echo STATIC - compile AFL++ static
- @echo ASAN_BUILD - compiles with memory sanitizer for debug purposes
+ @echo ASAN_BUILD - compiles AFL++ with memory sanitizer for debug purposes
+ @echo UBSAN_BUILD - compiles AFL++ tools with undefined behaviour sanitizer for debug purposes
@echo DEBUG - no optimization, -ggdb3, all warnings and -Werror
@echo PROFILING - compile afl-fuzz with profiling information
@echo INTROSPECTION - compile afl-fuzz with mutation introspection
@echo NO_PYTHON - disable python support
@echo NO_SPLICING - disables splicing mutation in afl-fuzz, not recommended for normal fuzzing
@echo NO_NYX - disable building nyx mode dependencies
+ @echo "NO_CORESIGHT - disable building coresight (arm64 only)"
+ @echo NO_UNICORN_ARM64 - disable building unicorn on arm64
@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 "=========================================="
diff --git a/docs/INSTALL.md b/docs/INSTALL.md
index 312b41e9..c60e3ada 100644
--- a/docs/INSTALL.md
+++ b/docs/INSTALL.md
@@ -79,17 +79,21 @@ make STATIC=1
These build options exist:
* STATIC - compile AFL++ static
-* ASAN_BUILD - compiles with memory sanitizer for debug purposes
+* ASAN_BUILD - compiles AFL++ with memory sanitizer for debug purposes
+* UBSAN_BUILD - compiles AFL++ tools with undefined behaviour sanitizer for
+ debug purposes
* DEBUG - no optimization, -ggdb3, all warnings and -Werror
-* PROFILING - compile with profiling information (gprof)
+* PROFILING - compile afl-fuzz with profiling information
* INTROSPECTION - compile afl-fuzz with mutation introspection
* NO_PYTHON - disable python support
* NO_SPLICING - disables splicing mutation in afl-fuzz, not recommended for
normal fuzzing
* NO_NYX - disable building nyx mode dependencies
+* NO_CORESIGHT - disable building coresight (arm64 only)
+* NO_UNICORN_ARM64 - disable building unicorn on arm64
* AFL_NO_X86 - if compiling on non-intel/amd platforms
* LLVM_CONFIG - if your distro doesn't use the standard name for llvm-config
- (e.g., Debian)
+ (e.g. Debian)
e.g.: `make ASAN_BUILD=1`