mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-10 01:01:33 +00:00
Merge branch 'master' of https://github.com/vanhauser-thc/AFLplusplus
This commit is contained in:
commit
2fafb9f2fb
@ -55,9 +55,9 @@
|
|||||||
| Feature/Instrumentation | AFL-GCC | LLVM_MODE | GCC_PLUGIN | QEMU_MODE | Unicorn |
|
| Feature/Instrumentation | AFL-GCC | LLVM_MODE | GCC_PLUGIN | QEMU_MODE | Unicorn |
|
||||||
| ----------------------- |:-------:|:---------:|:----------:|:---------:|:-------:|
|
| ----------------------- |:-------:|:---------:|:----------:|:---------:|:-------:|
|
||||||
| laf-intel / CompCov | | x | | x | x |
|
| laf-intel / CompCov | | x | | x | x |
|
||||||
| NeverZero | X | x(1) | (2) | x | x |
|
| NeverZero | x | x(1) | (2) | x | x |
|
||||||
| Persistent mode | | x | X | x | |
|
| Persistent mode | | x | x | x | |
|
||||||
| Whitelist | | x | X | | |
|
| Whitelist | | x | x | | |
|
||||||
| InsTrim | | x | | | |
|
| InsTrim | | x | | | |
|
||||||
|
|
||||||
neverZero:
|
neverZero:
|
||||||
|
@ -56,9 +56,9 @@ a file.
|
|||||||
3) Use LLVM instrumentation
|
3) Use LLVM instrumentation
|
||||||
---------------------------
|
---------------------------
|
||||||
|
|
||||||
When fuzzing slow targets, you can gain 2x performance improvement by using
|
When fuzzing slow targets, you can gain 20-100% performance improvement by
|
||||||
the LLVM-based instrumentation mode described in llvm_mode/README.llvm. Note
|
using the LLVM-based instrumentation mode described in llvm_mode/README.llvm.
|
||||||
that this mode requires the use of clang and will not work with GCC.
|
Note that this mode requires the use of clang and will not work with GCC.
|
||||||
|
|
||||||
The LLVM mode also offers a "persistent", in-process fuzzing mode that can
|
The LLVM mode also offers a "persistent", in-process fuzzing mode that can
|
||||||
work well for certain types of self-contained libraries, and for fast targets,
|
work well for certain types of self-contained libraries, and for fast targets,
|
||||||
@ -75,6 +75,9 @@ If you are only intested in specific parts of the code being fuzzed, you can
|
|||||||
whitelist the files that are actually relevant. This improves the speed and
|
whitelist the files that are actually relevant. This improves the speed and
|
||||||
accuracy of afl. See llvm_mode/README.whitelist
|
accuracy of afl. See llvm_mode/README.whitelist
|
||||||
|
|
||||||
|
Also use the InsTrim mode on larger binaries, this improves performance and
|
||||||
|
coverage a lot.
|
||||||
|
|
||||||
4) Profile and optimize the binary
|
4) Profile and optimize the binary
|
||||||
----------------------------------
|
----------------------------------
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user