aboutsummaryrefslogtreecommitdiff
path: root/include/afl-fuzz.h
diff options
context:
space:
mode:
authorvj-27 <vimal.joseph.027@gmail.com>2021-02-06 09:41:15 +0000
committervj-27 <vimal.joseph.027@gmail.com>2021-02-06 09:41:15 +0000
commitf54c4dbfdb17a06798b337a2182d7cf33ec178dd (patch)
tree4e1c0d51f6c7652b8ff16df66549e36080bae850 /include/afl-fuzz.h
parent1a8c242d280066b7bfb36897c91215d4f4b5eb01 (diff)
downloadAFLplusplus-f54c4dbfdb17a06798b337a2182d7cf33ec178dd.tar.gz
set prev_run_time inside afl state
Diffstat (limited to 'include/afl-fuzz.h')
-rw-r--r--include/afl-fuzz.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/afl-fuzz.h b/include/afl-fuzz.h
index 1b2b9a8e..4027a88f 100644
--- a/include/afl-fuzz.h
+++ b/include/afl-fuzz.h
@@ -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);