mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-12 10:08:07 +00:00
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>
This commit is contained in:
@ -88,6 +88,7 @@ TOTAL_TIME=0
|
|||||||
TOTAL_EXECS=0
|
TOTAL_EXECS=0
|
||||||
TOTAL_EPS=0
|
TOTAL_EPS=0
|
||||||
TOTAL_CRASHES=0
|
TOTAL_CRASHES=0
|
||||||
|
TOTAL_HANGS=0
|
||||||
TOTAL_PFAV=0
|
TOTAL_PFAV=0
|
||||||
TOTAL_PENDING=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_EPS=$((TOTAL_EPS + EXEC_SEC))
|
||||||
TOTAL_EXECS=$((TOTAL_EXECS + execs_done))
|
TOTAL_EXECS=$((TOTAL_EXECS + execs_done))
|
||||||
TOTAL_CRASHES=$((TOTAL_CRASHES + saved_crashes))
|
TOTAL_CRASHES=$((TOTAL_CRASHES + saved_crashes))
|
||||||
|
TOTAL_HANGS=$((TOTAL_HANGS + saved_hangs))
|
||||||
TOTAL_PENDING=$((TOTAL_PENDING + pending_total))
|
TOTAL_PENDING=$((TOTAL_PENDING + pending_total))
|
||||||
TOTAL_PFAV=$((TOTAL_PFAV + pending_favs))
|
TOTAL_PFAV=$((TOTAL_PFAV + pending_favs))
|
||||||
|
|
||||||
@ -301,6 +303,7 @@ if [ "$ALIVE_CNT" -gt "1" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
echo " Crashes saved : $TOTAL_CRASHES"
|
echo " Crashes saved : $TOTAL_CRASHES"
|
||||||
|
echo " Hangs saved : $TOTAL_HANGS"
|
||||||
echo "Cycles without finds : $TOTAL_WCOP"
|
echo "Cycles without finds : $TOTAL_WCOP"
|
||||||
echo " Time without finds : $TOTAL_LAST_FIND"
|
echo " Time without finds : $TOTAL_LAST_FIND"
|
||||||
echo
|
echo
|
||||||
|
Reference in New Issue
Block a user