diff options
author | vanhauser-thc <vh@thc.org> | 2023-07-18 09:56:28 +0200 |
---|---|---|
committer | vanhauser-thc <vh@thc.org> | 2023-07-18 09:56:28 +0200 |
commit | 4113b6ccada97c32b3852ece5ffe2fee6dcbc2c8 (patch) | |
tree | 35e997e3711be5b6d8fdbf5424a50df29f731814 /src/afl-fuzz.c | |
parent | 2b8e528a3b5f44df590b8f727983d142857d0433 (diff) | |
download | afl++-4113b6ccada97c32b3852ece5ffe2fee6dcbc2c8.tar.gz |
take care of uninstrumented mode for fuzz state and mode
Diffstat (limited to 'src/afl-fuzz.c')
-rw-r--r-- | src/afl-fuzz.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/afl-fuzz.c b/src/afl-fuzz.c index 9afece66..d8a88f00 100644 --- a/src/afl-fuzz.c +++ b/src/afl-fuzz.c @@ -2755,7 +2755,8 @@ int main(int argc, char **argv_orig, char **envp) { u64 cur_time = get_cur_time(); - if (likely(afl->switch_fuzz_mode && afl->fuzz_mode == 0) && + if (likely(afl->switch_fuzz_mode && afl->fuzz_mode == 0 && + !afl->non_instrumented_mode) && unlikely(cur_time > afl->last_find_time + afl->switch_fuzz_mode)) { if (afl->afl_env.afl_no_ui) { |