about summary refs log tree commit diff
path: root/frida_mode/README.md
diff options
context:
space:
mode:
authoreleguevel <eleguevel@quarkslab.com>2023-04-21 12:00:56 +0200
committereleguevel <eleguevel@quarkslab.com>2023-04-21 12:00:56 +0200
commit30495e6bfe4119c9be6597ad0def01e7e0cb8a67 (patch)
tree8334d1fe824d6275a69b0739f596bf4d2b7c2772 /frida_mode/README.md
parent4e5f42cab6b8c501eeaf76ec7ca920089f6e0f3a (diff)
downloadafl++-30495e6bfe4119c9be6597ad0def01e7e0cb8a67.tar.gz
frida mode: add dynamic loaded code exclusion
Add the AFL_FRIDA_INST_NO_DYNAMIC_LOAD environment variable and its
associated JS function setInstrumentNoDynamicLoad to prevent the
instrumentation of late dynamic loaded code.

Resolve #1708
Diffstat (limited to 'frida_mode/README.md')
-rw-r--r--frida_mode/README.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/frida_mode/README.md b/frida_mode/README.md
index aac13153..49a1fe38 100644
--- a/frida_mode/README.md
+++ b/frida_mode/README.md
@@ -178,11 +178,13 @@ Default is 256Mb.
 * `AFL_FRIDA_INST_JIT` - Enable the instrumentation of Just-In-Time compiled
   code. Code is considered to be JIT if the executable segment is not backed by
   a file.
+* `AFL_FRIDA_INST_NO_DYNAMIC_LOAD` - Don't instrument the code loaded late at
+  runtime. Strictly limits instrumentation to what has been included.
 * `AFL_FRIDA_INST_NO_OPTIMIZE` - Don't use optimized inline assembly coverage
   instrumentation (the default where available). Required to use
+  `AFL_FRIDA_INST_TRACE`.
 * `AFL_FRIDA_INST_REGS_FILE` - File to write raw register contents at the start
   of each block.
-  `AFL_FRIDA_INST_TRACE`.
 * `AFL_FRIDA_INST_NO_CACHE` - Don't use a look-up table to cache real to
 instrumented address block translations.
 * `AFL_FRIDA_INST_NO_PREFETCH` - Disable prefetching. By default, the child will