set prev_run_time inside afl state

This commit is contained in:
vj-27
2021-02-06 09:41:15 +00:00
parent 1a8c242d28
commit f54c4dbfdb
3 changed files with 10 additions and 11 deletions

View File

@ -569,6 +569,7 @@ typedef struct afl_state {
blocks_eff_total, /* Blocks subject to effector maps */
blocks_eff_select, /* Blocks selected as fuzzable */
start_time, /* Unix start time (ms) */
prev_run_time, /* Runtime read from prev stats file*/
last_path_time, /* Time for most recent path (ms) */
last_crash_time, /* Time for most recent crash (ms) */
last_hang_time; /* Time for most recent hang (ms) */
@ -1067,7 +1068,7 @@ void destroy_extras(afl_state_t *);
/* Stats */
u32 load_stats_file(afl_state_t *);
void load_stats_file(afl_state_t *);
void write_setup_file(afl_state_t *, u32, char **);
void write_stats_file(afl_state_t *, double, double, double);
void maybe_update_plot_file(afl_state_t *, double, double);