mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-14 11:08:06 +00:00
expose cycles_wo_finds in fuzzer_stats
This commit is contained in:
@ -377,6 +377,7 @@ directory. This includes:
|
|||||||
- `run_time` - run time in seconds to the last update of this file
|
- `run_time` - run time in seconds to the last update of this file
|
||||||
- `fuzzer_pid` - PID of the fuzzer process
|
- `fuzzer_pid` - PID of the fuzzer process
|
||||||
- `cycles_done` - queue cycles completed so far
|
- `cycles_done` - queue cycles completed so far
|
||||||
|
- `cycles_wo_finds` - number of cycles without any new paths found
|
||||||
- `execs_done` - number of execve() calls attempted
|
- `execs_done` - number of execve() calls attempted
|
||||||
- `execs_per_sec` - overall number of execs per second
|
- `execs_per_sec` - overall number of execs per second
|
||||||
- `paths_total` - total number of entries in the queue
|
- `paths_total` - total number of entries in the queue
|
||||||
|
@ -73,6 +73,7 @@ void write_stats_file(afl_state_t *afl, double bitmap_cvg, double stability,
|
|||||||
"run_time : %llu\n"
|
"run_time : %llu\n"
|
||||||
"fuzzer_pid : %d\n"
|
"fuzzer_pid : %d\n"
|
||||||
"cycles_done : %llu\n"
|
"cycles_done : %llu\n"
|
||||||
|
"cycles_wo_finds : %llu\n"
|
||||||
"execs_done : %llu\n"
|
"execs_done : %llu\n"
|
||||||
"execs_per_sec : %0.02f\n"
|
"execs_per_sec : %0.02f\n"
|
||||||
// "real_execs_per_sec: %0.02f\n" // damn the name is too long
|
// "real_execs_per_sec: %0.02f\n" // damn the name is too long
|
||||||
@ -103,9 +104,9 @@ void write_stats_file(afl_state_t *afl, double bitmap_cvg, double stability,
|
|||||||
"command_line : %s\n",
|
"command_line : %s\n",
|
||||||
afl->start_time / 1000, cur_time / 1000,
|
afl->start_time / 1000, cur_time / 1000,
|
||||||
(cur_time - afl->start_time) / 1000, getpid(),
|
(cur_time - afl->start_time) / 1000, getpid(),
|
||||||
afl->queue_cycle ? (afl->queue_cycle - 1) : 0, afl->total_execs,
|
afl->queue_cycle ? (afl->queue_cycle - 1) : 0, afl->cycles_wo_finds,
|
||||||
/*eps,*/ afl->total_execs /
|
afl->total_execs, /*eps,*/
|
||||||
((double)(get_cur_time() - afl->start_time) / 1000),
|
afl->total_execs / ((double)(get_cur_time() - afl->start_time) / 1000),
|
||||||
afl->queued_paths, afl->queued_favored, afl->queued_discovered,
|
afl->queued_paths, afl->queued_favored, afl->queued_discovered,
|
||||||
afl->queued_imported, afl->max_depth, afl->current_entry,
|
afl->queued_imported, afl->max_depth, afl->current_entry,
|
||||||
afl->pending_favored, afl->pending_not_fuzzed, afl->queued_variable,
|
afl->pending_favored, afl->pending_not_fuzzed, afl->queued_variable,
|
||||||
|
Reference in New Issue
Block a user