about summary refs log tree commit diff
diff options
context:
space:
mode:
authorvanhauser-thc <vh@thc.org>2021-04-15 11:23:46 +0200
committervanhauser-thc <vh@thc.org>2021-04-15 11:23:46 +0200
commit71f3d82d430cc82c0654083b8cd1d78d59f88ca9 (patch)
tree162353572ad86c950865e1d1a26c0c8facd5e2e9
parentcd40fa1745de1aba6549dd37d1d94b0e26cce442 (diff)
downloadafl++-71f3d82d430cc82c0654083b8cd1d78d59f88ca9.tar.gz
afl-whatsup -d fix
-rwxr-xr-xafl-whatsup3
1 files changed, 2 insertions, 1 deletions
diff --git a/afl-whatsup b/afl-whatsup
index 941b0e34..be259829 100755
--- a/afl-whatsup
+++ b/afl-whatsup
@@ -141,7 +141,7 @@ for i in `find . -maxdepth 2 -iname fuzzer_stats | sort`; do
   sed 's/^command_line.*$/_skip:1/;s/[ ]*:[ ]*/="/;s/$/"/' "$i" >"$TMP"
   . "$TMP"
 
-  RUN_UNIX=$((CUR_TIME - start_time))
+  RUN_UNIX=$run_time
   RUN_DAYS=$((RUN_UNIX / 60 / 60 / 24))
   RUN_HRS=$(((RUN_UNIX / 60 / 60) % 24))
 
@@ -168,6 +168,7 @@ for i in `find . -maxdepth 2 -iname fuzzer_stats | sort`; do
     fi
 
     DEAD_CNT=$((DEAD_CNT + 1))
+    last_path=0
 
     if [ "$PROCESS_DEAD" = "" ]; then