aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorvanhauser-thc <vh@thc.org>2021-03-06 19:12:25 +0100
committervanhauser-thc <vh@thc.org>2021-03-06 19:12:25 +0100
commit4a0d4c50fc8bec11a090156ab970414d4897ea6c (patch)
tree9f5dd3a11f89b110dabf01f644517a99d8b6f3bb /include
parent81442ba3f953c939e2cde9c16b9cd0d5fe7f12b5 (diff)
downloadafl++-4a0d4c50fc8bec11a090156ab970414d4897ea6c.tar.gz
complete implemenation, still no test
Diffstat (limited to 'include')
-rw-r--r--include/afl-fuzz.h2
-rw-r--r--include/forkserver.h13
2 files changed, 8 insertions, 7 deletions
diff --git a/include/afl-fuzz.h b/include/afl-fuzz.h
index 3b6f2285..b1fba884 100644
--- a/include/afl-fuzz.h
+++ b/include/afl-fuzz.h
@@ -390,7 +390,7 @@ typedef struct afl_env_vars {
*afl_hang_tmout, *afl_forksrv_init_tmout, *afl_skip_crashes, *afl_preload,
*afl_max_det_extras, *afl_statsd_host, *afl_statsd_port,
*afl_crash_exitcode, *afl_statsd_tags_flavor, *afl_testcache_size,
- *afl_testcache_entries, *afl_kill_signal, *afl_persistent_replay;
+ *afl_testcache_entries, *afl_kill_signal, *afl_persistent_record;
} afl_env_vars_t;
diff --git a/include/forkserver.h b/include/forkserver.h
index ddbc36ef..850c5b0d 100644
--- a/include/forkserver.h
+++ b/include/forkserver.h
@@ -95,12 +95,13 @@ typedef struct afl_forkserver {
char *cmplog_binary; /* the name of the cmplog binary */
/* persistent mode replay functionality */
- u32 persistent_replay; /* persistent replay setting */
- u32 persistent_replay_idx; /* persistent replay cache ptr */
- u32 persistent_replay_cnt; /* persistent replay counter */
- u8 * persistent_replay_dir;
- u8 ** persistent_replay_data;
- u32 **persistent_replay_len;
+ u32 persistent_record; /* persistent replay setting */
+ u32 persistent_record_idx; /* persistent replay cache ptr */
+ u32 persistent_record_cnt; /* persistent replay counter */
+ u8 * persistent_record_dir;
+ u8 ** persistent_record_data;
+ u32 **persistent_record_len;
+ s32 persistent_record_pid;
/* Function to kick off the forkserver child */
void (*init_child_func)(struct afl_forkserver *fsrv, char **argv);