This commit is contained in:
Dominik Maier
2020-03-27 21:59:08 +01:00
parent 5a7d33330a
commit 14bd424d2a
4 changed files with 106 additions and 60 deletions

View File

@ -583,6 +583,27 @@ typedef struct afl_state {
u8 clean_trace_custom[MAP_SIZE];
u8 first_trace[MAP_SIZE];
/*needed for afl_fuzz_one */
// TODO: see which we can reuse
u8 *out_buf;
size_t out_size;
u8 *out_scratch_buf;
size_t out_scratch_size;
u8 *eff_buf;
size_t eff_size;
u8 *in_buf;
size_t in_size;
u8 *in_scratch_buf;
size_t in_scratch_size;
u8 *ex_buf;
size_t ex_size;
} afl_state_t;
/* A global pointer to all instances is needed (for now) for signals to arrive