Fix UC_MODE_AFL and update config

This commit is contained in:
lazymio
2021-10-25 14:39:40 +02:00
parent d965c0f159
commit 1fa2eb688b
13 changed files with 83 additions and 19 deletions

View File

@ -315,6 +315,7 @@ struct uc_struct {
bool no_exit_request; // Disable check_exit_request temporarily. A workaround to treat the IT block as a whole block.
#ifdef UNICORN_HAS_AFL
bool afl;
uc_afl_forkserver_t afl_forkserver_start; // function to start afl forkserver
uc_afl_ret_uc_bool_t afl_child_request_next; // function from child to ask for new testcase (if in child)
int afl_child_pipe[2]; // pipe used to send information from child process to forkserver