diff options
author | van Hauser <vh@thc.org> | 2023-08-09 18:29:25 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-09 18:29:25 +0000 |
commit | fa44d8f79f03c0aab3cfea93c37b70edc367c1bb (patch) | |
tree | f39de203508117dcb50b66baa8fd335a887a9c54 /src/afl-fuzz-stats.c | |
parent | 18d9234dfe4b6db32a2da335834908e49300e5cd (diff) | |
parent | 55d696fbae435e0e69adf75cb2df1361186fb999 (diff) | |
download | afl++-fa44d8f79f03c0aab3cfea93c37b70edc367c1bb.tar.gz |
Merge pull request #1831 from AFLplusplus/dev
push to stable
Diffstat (limited to 'src/afl-fuzz-stats.c')
-rw-r--r-- | src/afl-fuzz-stats.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/afl-fuzz-stats.c b/src/afl-fuzz-stats.c index 4013370d..3d0a9b9a 100644 --- a/src/afl-fuzz-stats.c +++ b/src/afl-fuzz-stats.c @@ -37,8 +37,13 @@ char *get_fuzzing_state(afl_state_t *afl) { u64 cur_run_time = cur_ms - afl->start_time; u64 cur_total_run_time = afl->prev_run_time + cur_run_time; - if (unlikely(cur_run_time < 60 * 3 * 1000 || - cur_total_run_time < 60 * 5 * 1000)) { + if (unlikely(afl->non_instrumented_mode)) { + + return fuzzing_state[1]; + + } else if (unlikely(cur_run_time < 60 * 3 * 1000 || + + cur_total_run_time < 60 * 5 * 1000)) { return fuzzing_state[0]; |