diff options
author | van Hauser <vh@thc.org> | 2023-06-05 14:12:56 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-05 14:12:56 +0300 |
commit | f9b72b6f2f9a6545143ad2efa40ea0b527a5bf5c (patch) | |
tree | 82620ccfd9079b2e4fd0f7a6176b20508d4b68ca /frida_mode/src/entry.c | |
parent | ed73c632a5791ca740fe64770b6d238206033ec4 (diff) | |
parent | b644e48f36485c645cbc0dadf0fddb2aa14cc079 (diff) | |
download | afl++-f9b72b6f2f9a6545143ad2efa40ea0b527a5bf5c.tar.gz |
Merge pull request #1755 from AFLplusplus/dev
push to stable
Diffstat (limited to 'frida_mode/src/entry.c')
-rw-r--r-- | frida_mode/src/entry.c | 26 |
1 files changed, 1 insertions, 25 deletions
diff --git a/frida_mode/src/entry.c b/frida_mode/src/entry.c index 05af7ebb..fc49b4d7 100644 --- a/frida_mode/src/entry.c +++ b/frida_mode/src/entry.c @@ -78,31 +78,7 @@ void entry_init(void) { void entry_start(void) { - if (persistent_start == 0) { - - ranges_exclude(); - stalker_trust(); - - } - - if (entry_point == 0) { entry_launch(); } - -} - -static void entry_callout(GumCpuContext *cpu_context, gpointer user_data) { - - UNUSED_PARAMETER(cpu_context); - UNUSED_PARAMETER(user_data); - entry_compiled = TRUE; - entry_launch(); - -} - -void entry_prologue(GumStalkerIterator *iterator, GumStalkerOutput *output) { - - UNUSED_PARAMETER(output); FVERBOSE("AFL_ENTRYPOINT reached"); - if (persistent_start == 0) { ranges_exclude(); @@ -110,7 +86,7 @@ void entry_prologue(GumStalkerIterator *iterator, GumStalkerOutput *output) { } - gum_stalker_iterator_put_callout(iterator, entry_callout, NULL, NULL); + entry_launch(); } |