about summary refs log tree commit diff
diff options
context:
space:
mode:
authorYour Name <you@example.com>2022-02-08 08:58:35 +0000
committerYour Name <you@example.com>2022-02-08 08:58:35 +0000
commit452eb9f75bd37954f3944e4391c3b11663668583 (patch)
treee3159f2da0e81308bca6d46258e662b9450549df
parenta5dc0673317b32aee68e773e2c4f86190092b373 (diff)
downloadafl++-452eb9f75bd37954f3944e4391c3b11663668583.tar.gz
Fix initialization in non-persistent mode
-rw-r--r--frida_mode/src/entry.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/frida_mode/src/entry.c b/frida_mode/src/entry.c
index 995f765f..5d9bcaaf 100644
--- a/frida_mode/src/entry.c
+++ b/frida_mode/src/entry.c
@@ -78,6 +78,12 @@ void entry_init(void) {
 
 void entry_start(void) {
 
+  if (persistent_start == 0) {
+
+    ranges_exclude();
+    stalker_trust();
+
+  }
   if (entry_point == 0) { entry_launch(); }
 
 }