about summary refs log tree commit diff
path: root/afl-cmin
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2021-03-24 11:26:10 +0100
committerGitHub <noreply@github.com>2021-03-24 11:26:10 +0100
commit7dc48478698ba73eeb045af3ca25e4a62e68b359 (patch)
tree8728a43b1e4560123c22398c4dbf5cca5f0eafdb /afl-cmin
parentee5078f43c44a022831cf83b6963930975188168 (diff)
parentd17abce59b846d2008eac3dd1a73939e91f4b653 (diff)
downloadafl++-7dc48478698ba73eeb045af3ca25e4a62e68b359.tar.gz
Merge pull request #817 from realmadsci/atat-plusplus
Make @@ handling more flexible
Diffstat (limited to 'afl-cmin')
-rwxr-xr-xafl-cmin2
1 files changed, 1 insertions, 1 deletions
diff --git a/afl-cmin b/afl-cmin
index 778d7487..a1fc6f21 100755
--- a/afl-cmin
+++ b/afl-cmin
@@ -243,7 +243,7 @@ BEGIN {
   if (!stdin_file) {
     found_atat = 0
     for (prog_args_ind in prog_args) {
-      if ("@@" == prog_args[prog_args_ind]) {
+      if (match(prog_args[prog_args_ind], "@@") != 0) {
         found_atat = 1
         break
       }