mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-10 09:11:34 +00:00
nits
This commit is contained in:
parent
9a77a6fa92
commit
ca9854a924
@ -1410,13 +1410,18 @@ void show_stats_pizza(afl_state_t *afl) {
|
||||
|
||||
/* AFL_EXIT_ON_TIME. */
|
||||
|
||||
/* If no coverage was found yet, check whether run time is greater than exit_on_time. */
|
||||
/* If no coverage was found yet, check whether run time is greater than
|
||||
* exit_on_time. */
|
||||
|
||||
if (unlikely(
|
||||
!afl->non_instrumented_mode && afl->afl_env.afl_exit_on_time &&
|
||||
((afl->last_find_time &&
|
||||
(cur_ms - afl->last_find_time) > afl->exit_on_time) ||
|
||||
(!afl->last_find_time && (afl->prev_run_time + cur_ms -
|
||||
afl->start_time) > afl->exit_on_time)))) {
|
||||
|
||||
if (unlikely(!afl->non_instrumented_mode && afl->afl_env.afl_exit_on_time &&
|
||||
(afl->last_find_time && (cur_ms - afl->last_find_time) > afl->exit_on_time ||
|
||||
!afl->last_find_time &&
|
||||
(afl->prev_run_time + cur_ms - afl->start_time) > afl->exit_on_time))) {
|
||||
afl->stop_soon = 2;
|
||||
|
||||
}
|
||||
|
||||
if (unlikely(afl->total_crashes && afl->afl_env.afl_bench_until_crash)) {
|
||||
|
@ -873,7 +873,7 @@ static void usage(u8 *argv0) {
|
||||
"printed to stdout\n"
|
||||
"AFL_QUIET: do not print extra informational output\n"
|
||||
"AFL_NO_FORKSRV: run target via execve instead of using the forkserver\n",
|
||||
argv0, MEM_LIMIT, doc_path);
|
||||
argv0, doc_path);
|
||||
|
||||
exit(1);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user