diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/afl-fuzz.h | 2 | ||||
-rw-r--r-- | include/forkserver.h | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/include/afl-fuzz.h b/include/afl-fuzz.h index 8a65920d..895ca34e 100644 --- a/include/afl-fuzz.h +++ b/include/afl-fuzz.h @@ -101,7 +101,7 @@ #include <TargetConditionals.h> #endif -#undef LIST_FOREACH /* clashes with FreeBSD */ +#undef LIST_FOREACH /* clashes with FreeBSD */ #include "list.h" #ifndef SIMPLE_FILES #define CASE_PREFIX "id:" diff --git a/include/forkserver.h b/include/forkserver.h index 5cd3805b..9802b216 100644 --- a/include/forkserver.h +++ b/include/forkserver.h @@ -42,7 +42,7 @@ typedef struct afl_forkserver { child_pid, /* PID of the fuzzed program */ out_dir_fd; /* FD of the lock file */ - s32 out_fd, /* Persistent fd for afl->fsrv.out_file */ + s32 out_fd, /* Persistent fd for fsrv->out_file */ #ifndef HAVE_ARC4RANDOM dev_urandom_fd, /* Persistent fd for /dev/urandom */ #endif @@ -60,6 +60,8 @@ typedef struct afl_forkserver { u8 child_timed_out; /* Traced process timed out? */ + u8 use_fauxsrv; /* Fauxsrv for non-forking targets? */ + } afl_forkserver_t; void handle_timeout(int sig); |