diff options
| author | van Hauser <vh@thc.org> | 2020-02-19 11:04:48 +0100 |
|---|---|---|
| committer | van Hauser <vh@thc.org> | 2020-02-19 11:04:48 +0100 |
| commit | 8a6544f7f9a3ce46720214351d1240a19ae8845a (patch) | |
| tree | 9225bcfa316e931ac4e9748de28a0bd1266397a4 | |
| parent | 9c1bef49e686c5b8128cf2077c98697a6c8a3649 (diff) | |
| download | afl++-8a6544f7f9a3ce46720214351d1240a19ae8845a.tar.gz | |
document build options
| -rw-r--r-- | Makefile | 9 | ||||
| -rw-r--r-- | README.md | 11 |
2 files changed, 18 insertions, 2 deletions
diff --git a/Makefile b/Makefile index 2ff08db9..f8f02520 100644 --- a/Makefile +++ b/Makefile @@ -200,7 +200,14 @@ help: @echo "help: shows these build options :-)" @echo "==========================================" @echo "Recommended: \"distrib\" or \"source-only\", then \"install\"" - + @echo + @echo Known build environment options: + @echo "==========================================" + @echo STATIC - compile AFL++ static + @echo ASAN_BUILD - compiles with memory sanitizer for debug purposes + @echo AFL_NO_X86 - if compiling on non-intel/amd platforms + @echo "==========================================" + @echo e.g.: make ASAN_BUILD=1 ifndef AFL_NO_X86 diff --git a/README.md b/README.md index 8c759779..ec1d5ba9 100644 --- a/README.md +++ b/README.md @@ -109,7 +109,7 @@ $ make source-only ``` is what you should choose. -These build options exist: +These build targets exist: * all: just the main afl++ binaries * binary-only: everything for binary-only fuzzing: qemu_mode, unicorn_mode, libdislocator, libtokencap, radamsa @@ -128,6 +128,15 @@ afl++ binaries by passing the STATIC=1 argument to make: $ make all STATIC=1 ``` +These build options exist: + +* STATIC - compile AFL++ static +* ASAN_BUILD - compiles with memory sanitizer for debug purposes +* AFL_NO_X86 - if compiling on non-intel/amd platforms + +e.g.: make ASAN_BUILD=1 + + Note that afl++ is faster and better the newer the compilers used are. Hence gcc-9 and especially llvm-9 should be the compilers of choice. If your distribution does not have them, you can use the Dockerfile: |
