diff options
author | Mark <mteffeteller@google.com> | 2024-03-29 16:23:37 +0000 |
---|---|---|
committer | Mark <mteffeteller@google.com> | 2024-03-29 16:23:37 +0000 |
commit | 5c891e9c31cf7e1148e73150ad8008d5d2606686 (patch) | |
tree | ae0e5e5f1bc5b1b1362b14eadd2649868dc7cdf9 /instrumentation/README.lto.md | |
parent | 4c0e8a733dffdb238440d79687d9cdc8ac709b21 (diff) | |
parent | 775861ea94d00672c9e868db329073afd699b994 (diff) | |
download | AFLplusplus-5c891e9c31cf7e1148e73150ad8008d5d2606686.tar.gz |
Merge commit '775861ea94d00672c9e868db329073afd699b994' into tmp_auto_upgrade
Update AFLpp repo with upstream using external_updater
Test: Build afl-fuzz and run an AFL fuzzer
Bug: 331246566
Change-Id: Ia6ee9cb4adea9d9912fd86d86e1b92123fe44127
Diffstat (limited to 'instrumentation/README.lto.md')
-rw-r--r-- | instrumentation/README.lto.md | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/instrumentation/README.lto.md b/instrumentation/README.lto.md index df59cc2a..bd479c26 100644 --- a/instrumentation/README.lto.md +++ b/instrumentation/README.lto.md @@ -2,7 +2,7 @@ ## 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 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 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) @@ -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). ``` -## Getting LLVM 11+ +## Getting LLVM 12+ ### Installing llvm @@ -73,7 +73,7 @@ chmod +x llvm.sh 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 @@ -277,7 +277,7 @@ AS=llvm-as ... afl-clang-lto is still work in progress. 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. * Anything that does not compile with LTO, afl-clang-lto cannot compile either - 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 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. Happy end :) |