about summary refs log tree commit diff
path: root/frida_mode/src/stalker.c
diff options
context:
space:
mode:
authorWorksButNotTested <62701594+WorksButNotTested@users.noreply.github.com>2021-05-18 19:27:02 +0100
committerGitHub <noreply@github.com>2021-05-18 20:27:02 +0200
commit2ef9ff44682ff1a922536c9be461047f9e47ba25 (patch)
tree8ea23094a3a537e7006105703f258555063af931 /frida_mode/src/stalker.c
parentaf900bca981c2ac9cc328cbe5348929cf7be77be (diff)
downloadafl++-2ef9ff44682ff1a922536c9be461047f9e47ba25.tar.gz
Minor integration tweaks (#926)
Co-authored-by: Your Name <you@example.com>
Diffstat (limited to 'frida_mode/src/stalker.c')
-rw-r--r--frida_mode/src/stalker.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/frida_mode/src/stalker.c b/frida_mode/src/stalker.c
index 81973e9c..63f3c529 100644
--- a/frida_mode/src/stalker.c
+++ b/frida_mode/src/stalker.c
@@ -7,6 +7,8 @@ static GumStalker *stalker = NULL;
 
 void stalker_init(void) {
 
+  if (!gum_stalker_is_supported()) { FATAL("Failed to initialize embedded"); }
+
   stalker = gum_stalker_new();
   if (stalker == NULL) { FATAL("Failed to initialize stalker"); }