about summary refs log tree commit diff
path: root/include
diff options
context:
space:
mode:
authorvanhauser-thc <vh@thc.org>2021-03-19 14:55:25 +0100
committervanhauser-thc <vh@thc.org>2021-03-19 14:55:25 +0100
commite73c7c59c14d0bff1c1b25aa264fe18b7cdcddaf (patch)
tree9c5042ca06e7f0283bd38d46133abfd2b1792b3a /include
parent99525dee385a166d282a18ea70ae6ed85ac7f71b (diff)
downloadafl++-e73c7c59c14d0bff1c1b25aa264fe18b7cdcddaf.tar.gz
refactor finding binaries
Diffstat (limited to 'include')
-rw-r--r--include/common.h4
-rw-r--r--include/envs.h1
2 files changed, 5 insertions, 0 deletions
diff --git a/include/common.h b/include/common.h
index b7adbaec..46585c88 100644
--- a/include/common.h
+++ b/include/common.h
@@ -57,6 +57,10 @@ extern u8 *doc_path;                    /* path to documentation dir        */
 
 u8 *find_binary(u8 *fname);
 
+/* find an afl binary */
+
+u8 *find_afl_binary(u8 *own_loc, u8 *fname);
+
 /* Parses the kill signal environment variable, FATALs on error.
   If the env is not set, sets the env to default_signal for the signal handlers
   and returns the default_signal. */
diff --git a/include/envs.h b/include/envs.h
index cfd73b68..2ce50be7 100644
--- a/include/envs.h
+++ b/include/envs.h
@@ -42,6 +42,7 @@ static char *afl_environment_variables[] = {
     "AFL_DEBUG_CHILD",
     "AFL_DEBUG_GDB",
     "AFL_DISABLE_TRIM",
+    "AFL_DISABLE_LLVM_INSTRUMENTATION",
     "AFL_DONT_OPTIMIZE",
     "AFL_DRIVER_STDERR_DUPLICATE_FILENAME",
     "AFL_DUMB_FORKSRV",