first version with unix domain sockets is ready for testing

This commit is contained in:
Maik Betka
2023-04-17 17:09:48 +02:00
parent a3bc8d3440
commit 450dbae8cd
2 changed files with 232 additions and 33 deletions

View File

@ -130,12 +130,15 @@ write_to_testcase(afl_state_t *afl, void **mem, u32 len, u32 fix) {
new_size = afl->max_length;
}
if (new_mem != *mem) { *mem = new_mem; }
// TODO: think about how to enable the change without breaking other implementations
// if (new_mem != *mem) { *mem = new_mem; }
/* everything as planned. use the potentially new data. */
afl_fsrv_write_to_testcase(&afl->fsrv, *mem, new_size);
len = new_size;
// TODO: think about how to enable the change without breaking other implementations
afl_fsrv_write_to_testcase(&afl->fsrv, new_mem, new_size);
// TODO: think about how to enable the change without breaking other implementations
// len = new_size;
} else {