diff options
author | vanhauser-thc <vh@thc.org> | 2021-04-13 11:16:12 +0200 |
---|---|---|
committer | vanhauser-thc <vh@thc.org> | 2021-04-13 11:16:12 +0200 |
commit | 0c06371cda94e916f62b6456e86b849333acb338 (patch) | |
tree | 27cb5933be68145c9dc31714b087672a26d29f70 /src/afl-fuzz-stats.c | |
parent | 86bf55ff8bc7e6ce04e6da43bade87a17230b990 (diff) | |
download | afl++-0c06371cda94e916f62b6456e86b849333acb338.tar.gz |
display dictionary usage in havoc only mode
Diffstat (limited to 'src/afl-fuzz-stats.c')
-rw-r--r-- | src/afl-fuzz-stats.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/afl-fuzz-stats.c b/src/afl-fuzz-stats.c index b9a94ac3..ed4787ea 100644 --- a/src/afl-fuzz-stats.c +++ b/src/afl-fuzz-stats.c @@ -939,6 +939,14 @@ void show_stats(afl_state_t *afl) { u_stringify_int(IB(4), afl->stage_finds[STAGE_EXTRAS_AO]), u_stringify_int(IB(5), afl->stage_cycles[STAGE_EXTRAS_AO])); + } else if (unlikely(!afl->extras_cnt)) { + + strcpy(tmp, "n/a"); + + } else { + + strcpy(tmp, "havoc mode"); + } SAYF(bV bSTOP " dictionary : " cRST "%-36s " bSTG bV bSTOP |