aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorYour Name <you@example.com>2021-03-18 09:11:00 +0000
committerYour Name <you@example.com>2021-03-24 18:17:10 +0000
commite1384b5086e918350426cd0ece7dbe9c451f771f (patch)
tree1d91620d31e94a017d83f525205a297f5f1e403c /include
parent7dc48478698ba73eeb045af3ca25e4a62e68b359 (diff)
downloadafl++-e1384b5086e918350426cd0ece7dbe9c451f771f.tar.gz
Add support for FRIDA mode
Diffstat (limited to 'include')
-rw-r--r--include/envs.h7
-rw-r--r--include/forkserver.h2
2 files changed, 9 insertions, 0 deletions
diff --git a/include/envs.h b/include/envs.h
index d7578045..1e383b0c 100644
--- a/include/envs.h
+++ b/include/envs.h
@@ -50,6 +50,13 @@ static char *afl_environment_variables[] = {
"AFL_EXIT_WHEN_DONE",
"AFL_FAST_CAL",
"AFL_FORCE_UI",
+ "AFL_FRIDA_DEBUG_MAPS",
+ "AFL_FRIDA_EXCLUDE_RANGES",
+ "AFL_FRIDA_INST_NO_OPTIMIZE",
+ "AFL_FRIDA_INST_NO_PREFETCH",
+ "AFL_FRIDA_INST_RANGES",
+ "AFL_FRIDA_INST_STRICT",
+ "AFL_FRIDA_INST_TRACE",
"AFL_FUZZER_ARGS", // oss-fuzz
"AFL_GDB",
"AFL_GCC_ALLOWLIST",
diff --git a/include/forkserver.h b/include/forkserver.h
index ac027f81..4709f6a5 100644
--- a/include/forkserver.h
+++ b/include/forkserver.h
@@ -77,6 +77,8 @@ typedef struct afl_forkserver {
bool qemu_mode; /* if running in qemu mode or not */
+ bool frida_mode; /* if running in frida mode or not */
+
bool use_stdin; /* use stdin for sending data */
bool no_unlink; /* do not unlink cur_input */