about summary refs log tree commit diff
path: root/afl-cmin
diff options
context:
space:
mode:
authorvanhauser-thc <vh@thc.org>2023-07-08 13:31:06 +0200
committervanhauser-thc <vh@thc.org>2023-07-08 13:31:06 +0200
commit20dcb40c53811e36a3ace91a66a70cfddc4b3f1c (patch)
tree5a2ad0c8e5692bbc64f81ec06dc5b71a980ee554 /afl-cmin
parentd30272a64e5220e02c9c1cf69925825494a99e80 (diff)
downloadafl++-20dcb40c53811e36a3ace91a66a70cfddc4b3f1c.tar.gz
fix cmin -T
Diffstat (limited to 'afl-cmin')
-rwxr-xr-xafl-cmin5
1 files changed, 5 insertions, 0 deletions
diff --git a/afl-cmin b/afl-cmin
index d0bbed2b..f3ae4304 100755
--- a/afl-cmin
+++ b/afl-cmin
@@ -493,6 +493,11 @@ BEGIN {
     }
   }
 
+  if (in_count < threads) {
+    threads = in_count
+    print "[!] WARNING: less inputs than threads, reducing threads to "threads" and likely the overhead of threading makes things slower..."
+  }
+
   # Let's roll!
 
   #############################