diff options
author | van Hauser <vh@thc.org> | 2022-01-21 08:51:29 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-21 08:51:29 +0100 |
commit | 5933e787f90819b467658b63977b1dc472acad29 (patch) | |
tree | 2fec687da836de4c4604ddefa6bda579a256c3c6 /include/forkserver.h | |
parent | a9d549ca073ca3fc37b63c1fa454c575bba174b9 (diff) | |
parent | 6ce736aa913363647760d088ef0cb3610a765ff4 (diff) | |
download | afl++-5933e787f90819b467658b63977b1dc472acad29.tar.gz |
Merge pull request #1300 from schumilo/dev
add Nyx LTO support (and some other improvements)
Diffstat (limited to 'include/forkserver.h')
-rw-r--r-- | include/forkserver.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/include/forkserver.h b/include/forkserver.h index 48db2e26..4a05b17e 100644 --- a/include/forkserver.h +++ b/include/forkserver.h @@ -54,7 +54,13 @@ typedef enum NyxReturnValue { typedef struct { void *(*nyx_new)(const char *sharedir, const char *workdir, - uint32_t worker_id, uint32_t cpu_id, bool create_snapshot); + uint32_t cpu_id, uint32_t input_buffer_size, + bool input_buffer_write_protection); + void *(*nyx_new_parent)(const char *sharedir, const char *workdir, + uint32_t cpu_id, uint32_t input_buffer_size, + bool input_buffer_write_protection); + void *(*nyx_new_child)(const char *sharedir, const char *workdir, + uint32_t cpu_id, uint32_t worker_id); void (*nyx_shutdown)(void *qemu_process); void (*nyx_option_set_reload_mode)(void *qemu_process, bool enable); void (*nyx_option_set_timeout)(void *qemu_process, uint8_t timeout_sec, |