aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2022-04-03 09:30:23 +0200
committerGitHub <noreply@github.com>2022-04-03 09:30:23 +0200
commit881aef21fd6ca3f3bcf0847587d4d6d86f3a69db (patch)
treed076384dedf423a4bb7c3d1507cb07281ebc2865 /include
parent1d4f1e48797c064ee71441ba555b29fc3f467983 (diff)
parentc4363dd8b3d19a3e4bab8bc1fca1708ae2ff7899 (diff)
downloadafl++-881aef21fd6ca3f3bcf0847587d4d6d86f3a69db.tar.gz
Merge pull request #1362 from AFLplusplus/dev
push to stable
Diffstat (limited to 'include')
-rw-r--r--include/envs.h3
-rw-r--r--include/forkserver.h3
2 files changed, 6 insertions, 0 deletions
diff --git a/include/envs.h b/include/envs.h
index f4327d8c..fc276f8f 100644
--- a/include/envs.h
+++ b/include/envs.h
@@ -57,9 +57,12 @@ static char *afl_environment_variables[] = {
"AFL_FRIDA_DEBUG_MAPS",
"AFL_FRIDA_DRIVER_NO_HOOK",
"AFL_FRIDA_EXCLUDE_RANGES",
+ "AFL_FRIDA_INST_CACHE_SIZE",
"AFL_FRIDA_INST_COVERAGE_FILE",
"AFL_FRIDA_INST_DEBUG_FILE",
+ "AFL_FRIDA_INST_INSN",
"AFL_FRIDA_INST_JIT",
+ "AFL_FRIDA_INST_NO_CACHE",
"AFL_FRIDA_INST_NO_OPTIMIZE",
"AFL_FRIDA_INST_NO_PREFETCH",
"AFL_FRIDA_INST_NO_PREFETCH_BACKPATCH",
diff --git a/include/forkserver.h b/include/forkserver.h
index fd4d283c..5b66e7ec 100644
--- a/include/forkserver.h
+++ b/include/forkserver.h
@@ -70,6 +70,8 @@ typedef struct {
enum NyxReturnValue (*nyx_exec)(void *qemu_process);
uint8_t *(*nyx_get_bitmap_buffer)(void *qemu_process);
size_t (*nyx_get_bitmap_buffer_size)(void *qemu_process);
+ uint32_t (*nyx_get_aux_string)(void *nyx_process, uint8_t *buffer,
+ uint32_t size);
} nyx_plugin_handler_t;
@@ -173,6 +175,7 @@ typedef struct afl_forkserver {
void * nyx_runner; /* nyx runner object */
u32 nyx_id; /* nyx runner id (0 -> master) */
u32 nyx_bind_cpu_id; /* nyx runner cpu id */
+ char * nyx_aux_string;
#endif
} afl_forkserver_t;