about summary refs log tree commit diff
diff options
context:
space:
mode:
authorvanhauser-thc <vh@thc.org>2023-04-25 18:19:25 +0200
committervanhauser-thc <vh@thc.org>2023-04-25 18:19:25 +0200
commit432671449f98a675eaf37db52c6318e1edd2423f (patch)
tree6aeef849f29558e60a6a085a9c0990866a7ff125
parent96848398d45e08eaa69be245c986375808d2b3a7 (diff)
downloadafl++-432671449f98a675eaf37db52c6318e1edd2423f.tar.gz
nits
-rwxr-xr-xafl-cmin6
-rwxr-xr-xafl-cmin.bash2
2 files changed, 3 insertions, 5 deletions
diff --git a/afl-cmin b/afl-cmin
index c8bbd8d7..63cfdd7e 100755
--- a/afl-cmin
+++ b/afl-cmin
@@ -281,8 +281,8 @@ BEGIN {
     exit 1
   }
 
-  if (!threads && !stdin_file) {
-    print "[*] Are you aware of the '-T all' parallelize option that massively improves the speed for large corpuses?"
+  if (!threads && !stdin_file && !nyx_mode) {
+    print "[*] Are you aware of the '-T all' parallelize option that improves the speed for large/slow corpuses?"
   }
 
   # If @@ is specified, but there's no -f, let's come up with a temporary input
@@ -505,8 +505,6 @@ BEGIN {
       print in_dir"/"infilesSmallToBigFull[cnt] >> tmpfile"."threads
     }
 
-    print "ls -l "tmpfile"*"
-
   }
 
   print "[*] Obtaining traces for "in_count" input files in '"in_dir"'."
diff --git a/afl-cmin.bash b/afl-cmin.bash
index 0e2d973d..d390ff65 100755
--- a/afl-cmin.bash
+++ b/afl-cmin.bash
@@ -206,7 +206,7 @@ fi
 
 # Check for obvious errors.
 
-if [ ! "$T_ARG" = "" -a ! "$F_ARG" = "" ]; then
+if [ ! "$T_ARG" = "" -a ! "$F_ARG" = "" -a ! "$NYX_MODE" == 1 ]; then
   echo "[-] Error: -T and -f can not be used together." 1>&2
   exit 1
 fi