Merge branch 'master' of github.com:vanhauser-thc/AFLplusplus

This commit is contained in:
Andrea Fioraldi 2019-09-18 10:15:38 +02:00
commit 68b3849d51
3 changed files with 25 additions and 3 deletions

View File

@ -81,6 +81,20 @@ endif
all: test_x86 test_shm test_python27 ready $(PROGS) afl-as test_build all_done all: test_x86 test_shm test_python27 ready $(PROGS) afl-as test_build all_done
help:
@echo "HELP --- the following make targets exist:"
@echo "=========================================="
@echo "all: just the main afl++ binaries"
@echo "binary-only: everything for binary-only fuzzing: qemu_mode, unicorn_mode, libdislocator, libtokencap"
@echo "source-only: everything for source code fuzzing: llvm_mode, libdislocator, libtokencap"
@echo "distrib: everything (for both binary-only and source code fuzzing)"
@echo "install: installs everything you have compiled with the build option above"
@echo "clean: cleans everything. for qemu_mode and unicorn_mode it means it deletes all downloads as well"
@echo "help: shows these build options :-)"
@echo "=========================================="
@echo "Recommended: \"distrib\" or \"source-only\", then \"install\""
ifndef AFL_NO_X86 ifndef AFL_NO_X86
test_x86: test_x86:

View File

@ -80,16 +80,23 @@ $ sudo make install
Note that "make distrib" also builds llvm_mode, qemu_mode, unicorn_mode and Note that "make distrib" also builds llvm_mode, qemu_mode, unicorn_mode and
more. If you just want plain afl then do "make all", however compiling and more. If you just want plain afl then do "make all", however compiling and
using at least llvm_mode is highly recommended for much better results! using at least llvm_mode is highly recommended for much better results -
hence in this case
```shell
$ make source-only
```
is what you should choose.
These build options exist: These build options exist:
* all: just afl * all: just the main afl++ binaries
* binary-only: everything for binary-only fuzzing: qemu_mode, unicorn_mode, libdislocator, libtokencap * binary-only: everything for binary-only fuzzing: qemu_mode, unicorn_mode, libdislocator, libtokencap
* source-only: everything for source code fuzzing: llvm_mode, libdislocator, libtokencap * source-only: everything for source code fuzzing: llvm_mode, libdislocator, libtokencap
* distrib: everything (for both binary-only and source code fuzzing) * distrib: everything (for both binary-only and source code fuzzing)
* install: installs everything you have compiled with the build option above * install: installs everything you have compiled with the build options above
* clean: cleans everything. for qemu_mode and unicorn_mode it means it deletes all downloads as well * clean: cleans everything. for qemu_mode and unicorn_mode it means it deletes all downloads as well
* help: shows these build options
## 1) Challenges of guided fuzzing ## 1) Challenges of guided fuzzing

View File

@ -23,6 +23,7 @@ Version ++2.54d (dev):
- no more unlinking the input file, this way the input file can also be a - no more unlinking the input file, this way the input file can also be a
FIFO or disk partition FIFO or disk partition
- reducing duplicate code in afl-fuzz - reducing duplicate code in afl-fuzz
- added "make help"
- removed compile warnings from python internal stuff - removed compile warnings from python internal stuff
- added man page for afl-clang-fast[++] - added man page for afl-clang-fast[++]
- updated documentation - updated documentation