about summary refs log tree commit diff
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2022-02-08 12:17:20 +0100
committerGitHub <noreply@github.com>2022-02-08 12:17:20 +0100
commit8dbc4a14239c3c9f3d02ac714d559846a0d30893 (patch)
treee3159f2da0e81308bca6d46258e662b9450549df
parenta5dc0673317b32aee68e773e2c4f86190092b373 (diff)
parent452eb9f75bd37954f3944e4391c3b11663668583 (diff)
downloadafl++-8dbc4a14239c3c9f3d02ac714d559846a0d30893.tar.gz
Merge pull request #1324 from WorksButNotTested/compile
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(); }
 
 }