about summary refs log tree commit diff
path: root/include
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2022-01-26 11:00:55 +0100
committerGitHub <noreply@github.com>2022-01-26 11:00:55 +0100
commit143c9d175e9357ba548413ee7dcee6a8de23f733 (patch)
treea82736c060150480df81d19b50dfb7939cda7524 /include
parenta790bf6cc2bb63f0659d8c96b46f5f4db2f9d4bc (diff)
parentb0758ac8db0a2ec833b5ef7a60ab2d04cc7f6a9a (diff)
downloadafl++-143c9d175e9357ba548413ee7dcee6a8de23f733.tar.gz
Merge pull request #1301 from AFLplusplus/dev 4.00c
v4.00c release
Diffstat (limited to 'include')
-rw-r--r--include/config.h2
-rw-r--r--include/forkserver.h10
2 files changed, 9 insertions, 3 deletions
diff --git a/include/config.h b/include/config.h
index 99cacc40..66a646b1 100644
--- a/include/config.h
+++ b/include/config.h
@@ -26,7 +26,7 @@
 /* Version string: */
 
 // c = release, a = volatile github dev, e = experimental branch
-#define VERSION "++3.15a"
+#define VERSION "++4.00c"
 
 /******************************************************
  *                                                    *
diff --git a/include/forkserver.h b/include/forkserver.h
index 48db2e26..01f45587 100644
--- a/include/forkserver.h
+++ b/include/forkserver.h
@@ -53,8 +53,14 @@ 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);
+  void *(*nyx_new)(const char *sharedir, const char *workdir, 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,