diff options
| author | WorksButNotTested <62701594+WorksButNotTested@users.noreply.github.com> | 2021-07-06 18:30:50 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-07-06 19:30:50 +0200 |
| commit | 4a02118fdae1ed0bd2cb74a775e7bc0d82d91a81 (patch) | |
| tree | dc95c8417d58348f6e9ec1a1bbaa3d0a3bbbd358 /frida_mode/src/instrument | |
| parent | 2a433f90c456b19cf9aa39384540f618c6eeb1a8 (diff) | |
| download | afl++-4a02118fdae1ed0bd2cb74a775e7bc0d82d91a81.tar.gz | |
Deferred exclusion support (#1008)
* Deferred exclusion support * Changes to support different hook libraries for QEMU and FRIDA * Changes to collect more stats Co-authored-by: Your Name <you@example.com>
Diffstat (limited to 'frida_mode/src/instrument')
| -rw-r--r-- | frida_mode/src/instrument/instrument.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/frida_mode/src/instrument/instrument.c b/frida_mode/src/instrument/instrument.c index c646843c..2d857716 100644 --- a/frida_mode/src/instrument/instrument.c +++ b/frida_mode/src/instrument/instrument.c @@ -149,7 +149,13 @@ static void instrument_basic_block(GumStalkerIterator *iterator, if (unlikely(begin)) { - prefetch_write(GSIZE_TO_POINTER(instr->address)); + instrument_debug_start(instr->address, output); + + if (likely(entry_reached)) { + + prefetch_write(GSIZE_TO_POINTER(instr->address)); + + } if (likely(!excluded)) { |
