diff options
author | van Hauser <vh@thc.org> | 2023-06-12 10:16:45 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-12 10:16:45 +0300 |
commit | f1a616406eff94458ad300efa1b46ff301b24ae8 (patch) | |
tree | 4d3957e452ce12ef81f949a945c85f38fff216a3 /src/afl-fuzz-bitmap.c | |
parent | 61b6f4ed9e4dce15c39e4350278a95a41ea2522c (diff) | |
parent | ed97dbacef98c379d7028514a43c799c86050584 (diff) | |
download | afl++-f1a616406eff94458ad300efa1b46ff301b24ae8.tar.gz |
Merge pull request #1767 from AFLplusplus/mutationnew
Mutationnew
Diffstat (limited to 'src/afl-fuzz-bitmap.c')
-rw-r--r-- | src/afl-fuzz-bitmap.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/afl-fuzz-bitmap.c b/src/afl-fuzz-bitmap.c index 556bb5d1..fb8a1d4b 100644 --- a/src/afl-fuzz-bitmap.c +++ b/src/afl-fuzz-bitmap.c @@ -533,6 +533,18 @@ save_if_interesting(afl_state_t *afl, void *mem, u32 len, u8 fault) { close(fd); add_to_queue(afl, queue_fn, len, 0); + if (unlikely(afl->fuzz_mode) && likely(afl->switch_fuzz_mode)) { + + if (afl->afl_env.afl_no_ui) { + + ACTF("New coverage found, switching back to exploration mode."); + + } + + afl->fuzz_mode = 0; + + } + #ifdef INTROSPECTION if (afl->custom_mutators_count && afl->current_custom_fuzz) { |