more -z defs filtering
MODIFY
docs/Changelog.md
docs/Changelog.md
@@ -57,6 +57,7 @@ sending a mail to <afl-users+subscribe@googlegroups.com>.
- added AFL_USE_TSAN thread sanitizer support
- llvm and LTO mode modified to work with new llvm 14-dev (again. again.)
- fix for AFL_REAL_LD
+ - more -z defs filtering
- make -v without options work
- added the very good grammar mutator "GramaTron" to the
custom_mutators

MODIFY
src/afl-cc.c
src/afl-cc.c
@@ -720,10 +720,10 @@ static void edit_params(u32 argc, char **argv, char **envp) {
}
- if (!strcmp(cur, "-z")) {
+ if (!strcmp(cur, "-z") || !strcmp(cur, "-Wl,-z")) {
u8 *param = *(argv + 1);
- if (!strcmp(param, "defs")) {
+ if (!strcmp(param, "defs") || !strcmp(param, "-Wl,defs")) {
skip_next = 1;
continue;

more -z defs filtering