about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorvanhauser-thc <vh@thc.org>2022-08-15 17:38:53 +0200
committervanhauser-thc <vh@thc.org>2022-08-15 17:38:53 +0200
commitf00d83afbc1b3e82c61ada6b1834eb0f7312e863 (patch)
tree40fcbdbe255064fb6d712495d072634273c3396f /src
parent4e980713851c522436b6a6813f27dd95dd4e5fae (diff)
downloadafl++-f00d83afbc1b3e82c61ada6b1834eb0f7312e863.tar.gz
filter pipe in gcc_mode
Diffstat (limited to 'src')
-rw-r--r--src/afl-cc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/afl-cc.c b/src/afl-cc.c
index cae6d949..4c377ad1 100644
--- a/src/afl-cc.c
+++ b/src/afl-cc.c
@@ -822,6 +822,8 @@ static void edit_params(u32 argc, char **argv, char **envp) {
 
     }
 
+    if (compiler_mode == GCC_PLUGIN && !strcmp(cur, "-pipe")) { continue; }
+
     if (!strcmp(cur, "-z") || !strcmp(cur, "-Wl,-z")) {
 
       u8 *param = *(argv + 1);