Fix runtime underflow & -V exiting before syncing

print_stats sets exit_soon even while syncing, this leaves -V 0 still broken, as we don't finish syncing.

Additionally, the change that introduced the previous -V fix also broke the runtime tracking, as runtime needs to include all time including sync, splice etc. This caused an underflow in the reported runtime.
This commit is contained in:
Cornelius Aschermann
2024-05-15 17:09:05 -07:00
parent 1db3b81d2e
commit 6dd5e931fc
3 changed files with 13 additions and 26 deletions

View File

@ -1193,4 +1193,3 @@ common_fuzz_stuff(afl_state_t *afl, u8 *out_buf, u32 len) {
return 0;
}