mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-23 14:34:25 +00:00
add sancov-like allow/denylist instrument feature
This commit is contained in:
@ -22,6 +22,10 @@ sending a mail to <afl-users+subscribe@googlegroups.com>.
|
||||
- fixed a bug in redqueen for strings
|
||||
- llvm_mode:
|
||||
- now supports llvm 12!
|
||||
- support for AFL_LLVM_ALLOWLIST/AFL_LLVM_DENYLIST (previous
|
||||
AFL_LLVM_WHITELIST and AFL_LLVM_INSTRUMENT_FILE are deprecated and
|
||||
are matched to AFL_LLVM_ALLOWLIST). The format is compatible to llvm
|
||||
sancov, and also supports function matching!
|
||||
- fixes for laf-intel float splitting (thanks to mark-griffin for
|
||||
reporting)
|
||||
- LTO: autodictionary mode is a default
|
||||
|
@ -117,7 +117,7 @@ afl-clang-fast PCGUARD and afl-clang-lto LTO instrumentation!
|
||||
Identify which source code files contain the functions that you need to
|
||||
remove from instrumentation.
|
||||
|
||||
Simply follow this document on how to do this: [llvm_mode/README.instrument_file.md](llvm_mode/README.instrument_file.md)
|
||||
Simply follow this document on how to do this: [llvm_mode/README.instrument_list.md](llvm_mode/README.instrument_list.md)
|
||||
If PCGUARD is used, then you need to follow this guide (needs llvm 12+!):
|
||||
[http://clang.llvm.org/docs/SanitizerCoverage.html#partially-disabling-instrumentation](http://clang.llvm.org/docs/SanitizerCoverage.html#partially-disabling-instrumentation)
|
||||
|
||||
|
@ -202,14 +202,15 @@ Then there are a few specific features that are only available in llvm_mode:
|
||||
|
||||
See llvm_mode/README.laf-intel.md for more information.
|
||||
|
||||
### INSTRUMENT_FILE
|
||||
### INSTRUMENT LIST (selectively instrument files and functions)
|
||||
|
||||
This feature allows selectively instrumentation of the source
|
||||
|
||||
- Setting AFL_LLVM_INSTRUMENT_FILE with a filename will only instrument those
|
||||
files that match the names listed in this file.
|
||||
- Setting AFL_LLVM_ALLOWLIST or AFL_LLVM_DENYLIST with a filenames and/or
|
||||
function will only instrument (or skip) those files that match the names
|
||||
listed in the specified file.
|
||||
|
||||
See llvm_mode/README.instrument_file.md for more information.
|
||||
See llvm_mode/README.instrument_list.md for more information.
|
||||
|
||||
### NOT_ZERO
|
||||
|
||||
@ -241,7 +242,7 @@ Then there are a few specific features that are only available in the gcc_plugin
|
||||
- Setting AFL_GCC_INSTRUMENT_FILE with a filename will only instrument those
|
||||
files that match the names listed in this file (one filename per line).
|
||||
|
||||
See gcc_plugin/README.instrument_file.md for more information.
|
||||
See gcc_plugin/README.instrument_list.md for more information.
|
||||
|
||||
## 3) Settings for afl-fuzz
|
||||
|
||||
|
@ -67,7 +67,7 @@ to get to the important parts in the code.
|
||||
|
||||
If you are only interested in specific parts of the code being fuzzed, you can
|
||||
instrument_files the files that are actually relevant. This improves the speed and
|
||||
accuracy of afl. See llvm_mode/README.instrument_file.md
|
||||
accuracy of afl. See llvm_mode/README.instrument_list.md
|
||||
|
||||
Also use the InsTrim mode on larger binaries, this improves performance and
|
||||
coverage a lot.
|
||||
|
Reference in New Issue
Block a user