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/stalker.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/stalker.c')
| -rw-r--r-- | frida_mode/src/stalker.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/frida_mode/src/stalker.c b/frida_mode/src/stalker.c index 98483cde..5df0386f 100644 --- a/frida_mode/src/stalker.c +++ b/frida_mode/src/stalker.c @@ -38,7 +38,7 @@ void stalker_init(void) { stalker = gum_stalker_new(); if (stalker == NULL) { FATAL("Failed to initialize stalker"); } - gum_stalker_set_trust_threshold(stalker, 0); + gum_stalker_set_trust_threshold(stalker, -1); /* *NEVER* stalk the stalker, only bad things will ever come of this! */ gum_process_enumerate_ranges(GUM_PAGE_EXECUTE, stalker_exclude_self, NULL); @@ -59,3 +59,9 @@ void stalker_start(void) { } +void stalker_trust(void) { + + gum_stalker_set_trust_threshold(stalker, 0); + +} + |
