mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-13 02:28:09 +00:00
fixed call of custom mutators
This commit is contained in:
committed by
van Hauser
parent
b1d71136b0
commit
89512d4e05
@ -218,9 +218,9 @@ void write_to_testcase(afl_state_t *afl, void *mem, u32 len) {
|
||||
|
||||
u8 * new_data;
|
||||
size_t new_size =
|
||||
afl->mutator->afl_custom_pre_save(afl, mem, len, &new_data);
|
||||
afl->mutator->afl_custom_pre_save(afl->mutator->data, mem, len, &new_data);
|
||||
ck_write(fd, new_data, new_size, afl->fsrv.out_file);
|
||||
ck_free(new_data);
|
||||
free(new_data);
|
||||
|
||||
} else {
|
||||
|
||||
|
Reference in New Issue
Block a user