aboutsummaryrefslogtreecommitdiff
path: root/afl-whatsup
diff options
context:
space:
mode:
authorfxlb <devel.fx.lebail@orange.fr>2023-04-27 16:00:26 +0000
committerGitHub <noreply@github.com>2023-04-27 18:00:26 +0200
commit6172bc7312f85276101edbf78d2dd702f9ddfb49 (patch)
treed23653577b6a4f1cb6858a221b30bd9a7662684a /afl-whatsup
parenta2daef29f9c323c0a6a7a64013aadb79ffd3e534 (diff)
downloadAFLplusplus-6172bc7312f85276101edbf78d2dd702f9ddfb49.tar.gz
Add "Hangs saved" to afl-whatsup (#1717)
The hangs could show long or infinite loops. This is important. Co-authored-by: van Hauser <vh@thc.org>
Diffstat (limited to 'afl-whatsup')
-rwxr-xr-xafl-whatsup3
1 files changed, 3 insertions, 0 deletions
diff --git a/afl-whatsup b/afl-whatsup
index cec1ae28..6f29ab24 100755
--- a/afl-whatsup
+++ b/afl-whatsup
@@ -88,6 +88,7 @@ TOTAL_TIME=0
TOTAL_EXECS=0
TOTAL_EPS=0
TOTAL_CRASHES=0
+TOTAL_HANGS=0
TOTAL_PFAV=0
TOTAL_PENDING=0
@@ -190,6 +191,7 @@ for i in `find . -maxdepth 2 -iname fuzzer_stats | sort`; do
TOTAL_EPS=$((TOTAL_EPS + EXEC_SEC))
TOTAL_EXECS=$((TOTAL_EXECS + execs_done))
TOTAL_CRASHES=$((TOTAL_CRASHES + saved_crashes))
+ TOTAL_HANGS=$((TOTAL_HANGS + saved_hangs))
TOTAL_PENDING=$((TOTAL_PENDING + pending_total))
TOTAL_PFAV=$((TOTAL_PFAV + pending_favs))
@@ -301,6 +303,7 @@ if [ "$ALIVE_CNT" -gt "1" ]; then
fi
echo " Crashes saved : $TOTAL_CRASHES"
+echo " Hangs saved : $TOTAL_HANGS"
echo "Cycles without finds : $TOTAL_WCOP"
echo " Time without finds : $TOTAL_LAST_FIND"
echo