about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorDominik Maier <domenukk@gmail.com>2021-03-11 01:39:21 +0100
committerDominik Maier <domenukk@gmail.com>2021-03-11 01:39:21 +0100
commit16e3e2a7f78a11702fb394803bec78b3b0a99906 (patch)
treeeb5a233660a6ed78a9acc42f64eccf71b2889090 /src
parent0484d9b0247b0729767ba3715b90c29320395024 (diff)
downloadafl++-16e3e2a7f78a11702fb394803bec78b3b0a99906.tar.gz
implemented #801
Diffstat (limited to 'src')
-rw-r--r--src/afl-fuzz-stats.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/afl-fuzz-stats.c b/src/afl-fuzz-stats.c
index bd856088..2e7de7b3 100644
--- a/src/afl-fuzz-stats.c
+++ b/src/afl-fuzz-stats.c
@@ -823,7 +823,12 @@ void show_stats(afl_state_t *afl) {
     SAYF(bV bSTOP " total execs : " cRST "%-20s " bSTG bV bSTOP
                   " total crashes : %s%-22s" bSTG         bV "\n",
          u_stringify_int(IB(0), afl->fsrv.total_execs),
-         afl->unique_crashes ? cLRD : cRST, tmp);
+         // New crashes this round -> Red, restored crashes -> yellow, else
+         // white.
+         afl->total_crashes    ? cLRD
+         : afl->unique_crashes ? cYEL
+                               : cRST,
+         tmp);
 
   }