added afl_network_proxy

This commit is contained in:
van Hauser
2020-04-29 15:18:03 +02:00
parent ce2814967d
commit bc2e65e482
7 changed files with 980 additions and 8 deletions

View File

@ -163,14 +163,7 @@ static void __afl_map_shm(void) {
static void __afl_start_forkserver(void) {
u8 tmp[4] = {0, 0, 0, 0};
s32 child_pid;
u32 status = 0;
u32 already_read_first = 0;
u32 was_killed;
u8 child_stopped = 0;
void (*old_sigchld_handler)(int) = 0; // = signal(SIGCHLD, SIG_DFL);
if (__afl_map_size <= FS_OPT_MAX_MAPSIZE)
status |= (FS_OPT_SET_MAPSIZE(__afl_map_size) | FS_OPT_MAPSIZE);
@ -239,3 +232,4 @@ int main(int argc, char *argv[]) {
return 0;
}