about summary refs log tree commit diff
path: root/include/envs.h
diff options
context:
space:
mode:
authorrealmadsci <71108352+realmadsci@users.noreply.github.com>2021-03-02 15:28:26 -0500
committerrealmadsci <71108352+realmadsci@users.noreply.github.com>2021-03-02 12:55:44 -0800
commit8bdb40b7631ea0a6f7dec8e51a6c69c6b3c7513d (patch)
tree9faa7686232eb5fe6057cabde8062b9933db5563 /include/envs.h
parentf0bc2e0e8b9d7b7e6e5371153f1b3bd7500cdae7 (diff)
downloadafl++-8bdb40b7631ea0a6f7dec8e51a6c69c6b3c7513d.tar.gz
cpu-exec: Add AFL_QEMU_EXCLUDE_RANGES
This environment variable allows rejection of
specific regions from instrumentation.

It takes priority over AFL_INST_LIBS and AFL_QEMU_INST_RANGES,
so it can be used to poke a "hole" in previously included sections.
Diffstat (limited to 'include/envs.h')
-rw-r--r--include/envs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/envs.h b/include/envs.h
index 143979c6..26f4de90 100644
--- a/include/envs.h
+++ b/include/envs.h
@@ -141,6 +141,7 @@ static char *afl_environment_variables[] = {
     "AFL_QEMU_PERSISTENT_RETADDR_OFFSET",
     "AFL_QEMU_PERSISTENT_EXITS",
     "AFL_QEMU_INST_RANGES",
+    "AFL_QEMU_EXCLUDE_RANGES",
     "AFL_QEMU_SNAPSHOT",
     "AFL_QUIET",
     "AFL_RANDOM_ALLOC_CANARY",