mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-14 11:08:06 +00:00
fix docs
This commit is contained in:
File diff suppressed because one or more lines are too long
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB |
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
## TL;DR:
|
## TL;DR:
|
||||||
|
|
||||||
This version requires a LLVM 11 or newer.
|
This version requires a LLVM 12 or newer.
|
||||||
|
|
||||||
1. Use afl-clang-lto/afl-clang-lto++ because the resulting binaries run
|
1. Use afl-clang-lto/afl-clang-lto++ because the resulting binaries run
|
||||||
slightly faster and give better coverage.
|
slightly faster and give better coverage.
|
||||||
@ -10,7 +10,7 @@ This version requires a LLVM 11 or newer.
|
|||||||
2. You can use it together with COMPCOV, COMPLOG and the instrument file
|
2. You can use it together with COMPCOV, COMPLOG and the instrument file
|
||||||
listing features.
|
listing features.
|
||||||
|
|
||||||
3. It only works with LLVM 11 or newer.
|
3. It only works with LLVM 12 or newer.
|
||||||
|
|
||||||
4. AUTODICTIONARY feature (see below)
|
4. AUTODICTIONARY feature (see below)
|
||||||
|
|
||||||
@ -60,7 +60,7 @@ AUTODICTIONARY: 11 strings found
|
|||||||
[+] Instrumented 12071 locations with no collisions (on average 1046 collisions would be in afl-gcc/afl-clang-fast) (non-hardened mode).
|
[+] Instrumented 12071 locations with no collisions (on average 1046 collisions would be in afl-gcc/afl-clang-fast) (non-hardened mode).
|
||||||
```
|
```
|
||||||
|
|
||||||
## Getting LLVM 11+
|
## Getting LLVM 12+
|
||||||
|
|
||||||
### Installing llvm
|
### Installing llvm
|
||||||
|
|
||||||
@ -73,7 +73,7 @@ chmod +x llvm.sh
|
|||||||
sudo ./llvm.sh 15 all
|
sudo ./llvm.sh 15 all
|
||||||
```
|
```
|
||||||
|
|
||||||
LLVM 11 to 16 should be available in all current Linux repositories.
|
LLVM 12 to 18 should be available in all current Linux repositories.
|
||||||
|
|
||||||
## How to build afl-clang-lto
|
## How to build afl-clang-lto
|
||||||
|
|
||||||
@ -277,7 +277,7 @@ AS=llvm-as ...
|
|||||||
afl-clang-lto is still work in progress.
|
afl-clang-lto is still work in progress.
|
||||||
|
|
||||||
Known issues:
|
Known issues:
|
||||||
* Anything that LLVM 11+ cannot compile, afl-clang-lto cannot compile either -
|
* Anything that LLVM 12+ cannot compile, afl-clang-lto cannot compile either -
|
||||||
obviously.
|
obviously.
|
||||||
* Anything that does not compile with LTO, afl-clang-lto cannot compile either -
|
* Anything that does not compile with LTO, afl-clang-lto cannot compile either -
|
||||||
obviously.
|
obviously.
|
||||||
@ -319,7 +319,7 @@ Still more problems came up though as this only works without bugs from LLVM 9
|
|||||||
onwards, and with high optimization the link optimization ruins the instrumented
|
onwards, and with high optimization the link optimization ruins the instrumented
|
||||||
control flow graph.
|
control flow graph.
|
||||||
|
|
||||||
This is all now fixed with LLVM 11+. The llvm's own linker is now able to load
|
This is all now fixed with LLVM 12+. The llvm's own linker is now able to load
|
||||||
passes and this bypasses all problems we had.
|
passes and this bypasses all problems we had.
|
||||||
|
|
||||||
Happy end :)
|
Happy end :)
|
||||||
|
@ -165,7 +165,7 @@ static void usage(u8 *argv0, int more_help) {
|
|||||||
"\n"
|
"\n"
|
||||||
|
|
||||||
"Mutator settings:\n"
|
"Mutator settings:\n"
|
||||||
" -a - target input format, \"text\" or \"binary\" (default: "
|
" -a type - target input format, \"text\" or \"binary\" (default: "
|
||||||
"generic)\n"
|
"generic)\n"
|
||||||
" -g minlength - set min length of generated fuzz input (default: 1)\n"
|
" -g minlength - set min length of generated fuzz input (default: 1)\n"
|
||||||
" -G maxlength - set max length of generated fuzz input (default: "
|
" -G maxlength - set max length of generated fuzz input (default: "
|
||||||
|
Reference in New Issue
Block a user