execs field in filenames

This commit is contained in:
Andrea Fioraldi
2021-10-19 13:59:31 +02:00
parent 65e63b9cf1
commit 77a63d8ccf
2 changed files with 5 additions and 4 deletions

View File

@ -317,8 +317,9 @@ u8 *describe_op(afl_state_t *afl, u8 new_bits, size_t max_description_len) {
} }
sprintf(ret + strlen(ret), ",time:%llu", sprintf(ret + strlen(ret), ",time:%llu,execs:%llu",
get_cur_time() + afl->prev_run_time - afl->start_time); get_cur_time() + afl->prev_run_time - afl->start_time,
afl->fsrv.total_execs);
if (afl->current_custom_fuzz && if (afl->current_custom_fuzz &&
afl->current_custom_fuzz->afl_custom_describe) { afl->current_custom_fuzz->afl_custom_describe) {

View File

@ -1325,8 +1325,8 @@ void pivot_inputs(afl_state_t *afl) {
} }
nfn = alloc_printf("%s/queue/id:%06u,time:0,orig:%s", afl->out_dir, id, nfn = alloc_printf("%s/queue/id:%06u,time:0,execs:%llu,orig:%s", afl->out_dir, id,
use_name); afl->fsrv.total_execs, use_name);
#else #else