about summary refs log tree commit diff
path: root/afl-cmin.bash
diff options
context:
space:
mode:
authorvanhauser-thc <vh@thc.org>2023-06-21 12:20:10 +0200
committervanhauser-thc <vh@thc.org>2023-06-21 12:20:10 +0200
commit64b15a00f270f0ac9c00cf13e569481672227635 (patch)
treecbc3c68368749cb71e68c6a951ffd106d8884b8b /afl-cmin.bash
parent936b6dcb5d7a93d2aa211d0812fd26ba0b2c7d3c (diff)
downloadafl++-64b15a00f270f0ac9c00cf13e569481672227635.tar.gz
fix afl-cmin* for old afl vanilla issue
Diffstat (limited to 'afl-cmin.bash')
-rwxr-xr-xafl-cmin.bash4
1 files changed, 3 insertions, 1 deletions
diff --git a/afl-cmin.bash b/afl-cmin.bash
index dc6d5342..1d080491 100755
--- a/afl-cmin.bash
+++ b/afl-cmin.bash
@@ -479,7 +479,7 @@ else
   echo "[+] all $THREADS running tasks completed."
   rm -f ${TMPFILE}*
 
-  echo trace dir files: $(ls $TRACE_DIR/*|wc -l)
+  #echo trace dir files: $(ls $TRACE_DIR/*|wc -l)
 
 fi
 
@@ -523,6 +523,8 @@ ls -rS "$IN_DIR" | while read -r fn; do
 
   sed "s#\$# $fn#" "$TRACE_DIR/$fn" >>"$TRACE_DIR/.candidate_list"
 
+  test -s "$TRACE_DIR/$fn" || echo Warning: $fn is ignored because of crashing the target
+
 done
 
 echo