take care of uninstrumented mode for fuzz state and mode

This commit is contained in:
vanhauser-thc
2023-07-18 09:56:28 +02:00
parent 2b8e528a3b
commit 4113b6ccad
4 changed files with 12 additions and 4 deletions

View File

@ -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) {