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/persistent/persistent.c | |
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/persistent/persistent.c')
-rw-r--r-- | frida_mode/src/persistent/persistent.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/frida_mode/src/persistent/persistent.c b/frida_mode/src/persistent/persistent.c index bcc59ea7..639a694e 100644 --- a/frida_mode/src/persistent/persistent.c +++ b/frida_mode/src/persistent/persistent.c @@ -5,7 +5,10 @@ #include "config.h" #include "debug.h" +#include "entry.h" #include "persistent.h" +#include "ranges.h" +#include "stalker.h" #include "util.h" int __afl_sharedmem_fuzzing = 0; @@ -83,3 +86,20 @@ void persistent_init(void) { } +void persistent_prologue(GumStalkerOutput *output) { + + OKF("AFL_FRIDA_PERSISTENT_ADDR reached"); + entry_reached = TRUE; + ranges_exclude(); + stalker_trust(); + persistent_prologue_arch(output); + +} + +void persistent_epilogue(GumStalkerOutput *output) { + + OKF("AFL_FRIDA_PERSISTENT_RET reached"); + persistent_epilogue_arch(output); + +} + |