mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-14 02:58:08 +00:00
cleaned up maybe_add_auto calls
This commit is contained in:
@ -112,8 +112,9 @@ void afl_state_init(afl_state_t *afl, uint32_t map_size) {
|
||||
|
||||
afl->fsrv.use_stdin = 1;
|
||||
afl->fsrv.map_size = map_size;
|
||||
afl->fsrv.function_opt = (u8 *)afl;
|
||||
afl->fsrv.function_ptr = &maybe_add_auto;
|
||||
// afl_state_t is not available in forkserver.c
|
||||
afl->fsrv.afl_ptr = (void *)afl;
|
||||
afl->fsrv.autodict_func = (void (*)(void *, u8 *, u32))&maybe_add_auto;
|
||||
|
||||
afl->cal_cycles = CAL_CYCLES;
|
||||
afl->cal_cycles_long = CAL_CYCLES_LONG;
|
||||
|
Reference in New Issue
Block a user