about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorvanhauser-thc <vh@thc.org>2021-12-16 21:31:37 +0100
committervanhauser-thc <vh@thc.org>2021-12-16 21:31:37 +0100
commit641a943d95436d9e9f4312ae06c74c54624f084d (patch)
treec7a8439ae4b41f9177c379fb12911209da91adc0 /src
parent3cb7319ccdb98dcc6b023dbead603a4450ac4541 (diff)
downloadafl++-641a943d95436d9e9f4312ae06c74c54624f084d.tar.gz
more -z defs filtering
Diffstat (limited to 'src')
-rw-r--r--src/afl-cc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/afl-cc.c b/src/afl-cc.c
index 442cf265..f90f62a8 100644
--- a/src/afl-cc.c
+++ b/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;