about summary refs log tree commit diff
path: root/include/afl-fuzz.h
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2021-02-07 05:20:02 +0100
committerGitHub <noreply@github.com>2021-02-07 05:20:02 +0100
commit01327ad301afbcc71b3ac597bc6e093839c5f469 (patch)
treef1fd3aad5cb977d68c2b3e7e9b097a90e2b1c6f2 /include/afl-fuzz.h
parenta763c61d89f90330bcde7c294c57cfccda1431b8 (diff)
parent96cdc97c98ee2e2af7df59252f4f0df1689afb7b (diff)
downloadafl++-01327ad301afbcc71b3ac597bc6e093839c5f469.tar.gz
Merge pull request #728 from vj-27/dev
load existing stats file when in AFL_AUTORESUME or -i - mode.
Diffstat (limited to 'include/afl-fuzz.h')
-rw-r--r--include/afl-fuzz.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/afl-fuzz.h b/include/afl-fuzz.h
index c3a8c2ee..1d5ec1f0 100644
--- a/include/afl-fuzz.h
+++ b/include/afl-fuzz.h
@@ -425,7 +425,8 @@ typedef struct afl_state {
     really makes no sense to haul them around as function parameters. */
   u64 orig_hit_cnt_puppet, last_limit_time_start, tmp_pilot_time,
       total_pacemaker_time, total_puppet_find, temp_puppet_find, most_time_key,
-      most_time, most_execs_key, most_execs, old_hit_count, force_ui_update;
+      most_time, most_execs_key, most_execs, old_hit_count, force_ui_update,
+      prev_run_time;
 
   MOpt_globals_t mopt_globals_core, mopt_globals_pilot;
 
@@ -1067,6 +1068,7 @@ void destroy_extras(afl_state_t *);
 
 /* Stats */
 
+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);