implementation without testing

This commit is contained in:
vanhauser-thc
2021-03-06 15:48:49 +01:00
parent 84f0b4f187
commit 81442ba3f9
3 changed files with 78 additions and 4 deletions

View File

@ -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);