aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2020-03-25 12:50:42 +0100
committerGitHub <noreply@github.com>2020-03-25 12:50:42 +0100
commitb24ef50f7b931afff5b3e84f00c7d0b09cf280b1 (patch)
tree826c5e7b63e0294d7e1addfb53c9fc243c0f1d84
parentf6466214c61e751455097378f97ce60b1970e9d3 (diff)
parentce58790fc0b7a69edf54ad9becbbf4cc27499033 (diff)
downloadafl++-b24ef50f7b931afff5b3e84f00c7d0b09cf280b1.tar.gz
Merge pull request #271 from fuzzah/aflpp_time_without_finds
add "time without finds" to afl-whatsup
-rwxr-xr-xafl-whatsup7
1 files changed, 7 insertions, 0 deletions
diff --git a/afl-whatsup b/afl-whatsup
index 01edb210..c3017689 100755
--- a/afl-whatsup
+++ b/afl-whatsup
@@ -122,6 +122,7 @@ fmt_duration()
FIRST=true
TOTAL_WCOP=
+TOTAL_LAST_PATH=0
for i in `find . -maxdepth 2 -iname fuzzer_stats | sort`; do
@@ -170,6 +171,10 @@ for i in `find . -maxdepth 2 -iname fuzzer_stats | sort`; do
TOTAL_CRASHES=$((TOTAL_CRASHES + unique_crashes))
TOTAL_PENDING=$((TOTAL_PENDING + pending_total))
TOTAL_PFAV=$((TOTAL_PFAV + pending_favs))
+
+ if [ "$last_path" -gt "$TOTAL_LAST_PATH" ]; then
+ TOTAL_LAST_PATH=$last_path
+ fi
if [ "$SUMMARY_ONLY" = "" ]; then
@@ -236,6 +241,7 @@ TOTAL_DAYS=$((TOTAL_TIME / 60 / 60 / 24))
TOTAL_HRS=$(((TOTAL_TIME / 60 / 60) % 24))
test -z "$TOTAL_WCOP" && TOTAL_WCOP="not available"
+fmt_duration $TOTAL_LAST_PATH && TOTAL_LAST_PATH=$DUR_STRING
test "$TOTAL_TIME" = "0" && TOTAL_TIME=1
@@ -262,6 +268,7 @@ fi
echo " Crashes found : $TOTAL_CRASHES locally unique"
echo "Cycles without finds : $TOTAL_WCOP"
+echo " Time without finds : $TOTAL_LAST_PATH"
echo
exit 0