about summary refs log tree commit diff
path: root/afl-cmin
diff options
context:
space:
mode:
authorvanhauser-thc <vh@thc.org>2021-03-05 19:32:27 +0100
committervanhauser-thc <vh@thc.org>2021-03-05 19:32:27 +0100
commit9844e1a856d38780a8bff6e15411956e3f183d57 (patch)
treecb903236c6d81923b77b5d576b87ad7767928e9b /afl-cmin
parent44be521ab8ef5d62847ae48ebdb060d84aae5e47 (diff)
downloadafl++-9844e1a856d38780a8bff6e15411956e3f183d57.tar.gz
fix
Diffstat (limited to 'afl-cmin')
-rwxr-xr-xafl-cmin4
1 files changed, 4 insertions, 0 deletions
diff --git a/afl-cmin b/afl-cmin
index 4ee79a79..7f8544eb 100755
--- a/afl-cmin
+++ b/afl-cmin
@@ -287,6 +287,10 @@ BEGIN {
     exit 1
   }
 
+  if (0 == system( "test -d "in_dir"/default" )) {
+    in_dir = in_dir "/default"
+  }
+
   if (0 == system( "test -d "in_dir"/queue" )) {
     in_dir = in_dir "/queue"
   }