about summary refs log tree commit diff
path: root/include
diff options
context:
space:
mode:
authorvanhauser-thc <vh@thc.org>2021-03-06 15:48:49 +0100
committervanhauser-thc <vh@thc.org>2021-03-06 15:48:49 +0100
commit81442ba3f953c939e2cde9c16b9cd0d5fe7f12b5 (patch)
tree45be4ebb5401bc2ed32c6ec25ac541f353f09efa /include
parent84f0b4f1874a9c3a5f2da4056f974df8273093d9 (diff)
downloadafl++-81442ba3f953c939e2cde9c16b9cd0d5fe7f12b5.tar.gz
implementation without testing
Diffstat (limited to 'include')
-rw-r--r--include/forkserver.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/include/forkserver.h b/include/forkserver.h
index a0a60e0f..ddbc36ef 100644
--- a/include/forkserver.h
+++ b/include/forkserver.h
@@ -55,9 +55,6 @@ typedef struct afl_forkserver {
   u32 init_tmout;                       /* Configurable init timeout (ms)   */
   u32 map_size;                         /* map size used by the target      */
   u32 snapshot;                         /* is snapshot feature used         */
-  u32 persistent_replay;                /* persistent replay setting        */
-  u32 persistent_replay_idx;            /* persistent replay cache ptr      */
-  u32 persistent_replay_cnt;            /* persistent replay counter        */
   u64 mem_limit;                        /* Memory cap for child (MB)        */
 
   u64 total_execs;                      /* How often run_target was called  */
@@ -97,6 +94,14 @@ 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;
+
   /* Function to kick off the forkserver child */
   void (*init_child_func)(struct afl_forkserver *fsrv, char **argv);