our own PCGUARD mode not for llvm 10.0.1
MODIFY
docs/Changelog.md
docs/Changelog.md
@@ -27,6 +27,7 @@ sending a mail to <afl-users+subscribe@googlegroups.com>.
! llvm15-dev with LTO and extra features (LAF/CMPLOG etc.) might have
issues at the moment
- converted all passed to use the new llvm pass manager for llvm 11+
+ - AFL++ PCGUARD mode is not available for 10.0.1 anymore (11+ only)
- frida_mode:
- update to new frida release, handles now c++ throw/catch

MODIFY
src/afl-cc.c
src/afl-cc.c
@@ -626,7 +626,7 @@ static void edit_params(u32 argc, char **argv, char **envp) {
if (instrument_mode == INSTRUMENT_PCGUARD) {
-#if LLVM_MAJOR >= 11 || (LLVM_MAJOR == 10 && LLVM_MINOR >= 1)
+#if LLVM_MAJOR >= 11
#if defined __ANDROID__ || ANDROID
cc_params[cc_par_cnt++] = "-fsanitize-coverage=trace-pc-guard";
instrument_mode = INSTRUMENT_LLVMNATIVE;

our own PCGUARD mode not for llvm 10.0.1