diff options
| author | van Hauser <vh@thc.org> | 2021-08-20 23:15:18 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-08-20 23:15:18 +0200 |
| commit | ca9c87dd45d8b9a746a212cbc6ce85b78b637d8c (patch) | |
| tree | 665b9368d2c1908cf71dbc4a76517f88c5317d9a /frida_mode/src/instrument/instrument.c | |
| parent | d8c221fade27b75a387587dc7b5e20ab82ec8012 (diff) | |
| parent | 028f8ced8f772d82a7efc522ec629bf4a5fff32d (diff) | |
| download | afl++-ca9c87dd45d8b9a746a212cbc6ce85b78b637d8c.tar.gz | |
Merge pull request #1075 from WorksButNotTested/test
Various New Features & Fixes
Diffstat (limited to 'frida_mode/src/instrument/instrument.c')
| -rw-r--r-- | frida_mode/src/instrument/instrument.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/frida_mode/src/instrument/instrument.c b/frida_mode/src/instrument/instrument.c index e37c1d29..9e4dd191 100644 --- a/frida_mode/src/instrument/instrument.c +++ b/frida_mode/src/instrument/instrument.c @@ -164,7 +164,7 @@ static void instrument_basic_block(GumStalkerIterator *iterator, * our AFL_ENTRYPOINT, since it is not until then that we start the * fork-server and thus start executing in the child. */ - excluded = range_is_excluded(GSIZE_TO_POINTER(instr->address)); + excluded = range_is_excluded(GUM_ADDRESS(instr->address)); stats_collect(instr, begin); @@ -173,11 +173,7 @@ static void instrument_basic_block(GumStalkerIterator *iterator, instrument_debug_start(instr->address, output); instrument_coverage_start(instr->address); - if (likely(entry_reached)) { - - prefetch_write(GSIZE_TO_POINTER(instr->address)); - - } + prefetch_write(GSIZE_TO_POINTER(instr->address)); if (likely(!excluded)) { |
