diff options
author | van Hauser <vh@thc.org> | 2024-05-17 23:41:39 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-17 23:41:39 +0200 |
commit | c6a2a4046e8cb023819d50610a7886a445c316fd (patch) | |
tree | 611e5f79b749bbb2901bc74ff2b8364b9b900761 /src/afl-fuzz.c | |
parent | 635140ba43b3191525890d82119aee9643a09b20 (diff) | |
parent | 6dd5e931fcd50908ff3c02f31e49f8cd751eaff3 (diff) | |
download | afl++-c6a2a4046e8cb023819d50610a7886a445c316fd.tar.gz |
Merge pull request #2092 from fbeqv/dev
Fix runtime underflow & -V exiting before syncing
Diffstat (limited to 'src/afl-fuzz.c')
-rw-r--r-- | src/afl-fuzz.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/src/afl-fuzz.c b/src/afl-fuzz.c index 1f0037ba..cf3940f1 100644 --- a/src/afl-fuzz.c +++ b/src/afl-fuzz.c @@ -1806,7 +1806,7 @@ int main(int argc, char **argv_orig, char **envp) { afl->fsrv.use_fauxsrv = afl->non_instrumented_mode == 1 || afl->no_forkserver; afl->fsrv.max_length = afl->max_length; - + #ifdef __linux__ if (!afl->fsrv.nyx_mode) { @@ -2593,14 +2593,6 @@ int main(int argc, char **argv_orig, char **envp) { } sync_fuzzers(afl); - - if (!afl->queue_cycle && afl->afl_env.afl_import_first) { - - // real start time, we reset, so this works correctly with -V - afl->start_time = get_cur_time(); - - } - } ++afl->queue_cycle; @@ -3115,4 +3107,3 @@ stop_fuzzing: } #endif /* !AFL_LIB */ - |