about summary refs log tree commit diff
path: root/frida_mode/src/intercept.c
diff options
context:
space:
mode:
authorYour Name <you@example.com>2021-11-09 18:29:25 +0000
committerYour Name <you@example.com>2021-11-10 05:25:29 +0000
commit02e8919cbc744064510f6cd99539f7662343073f (patch)
tree9f9a8fc6346242b793ce7e671813168ccec72a8e /frida_mode/src/intercept.c
parent8578b6b01c5f41d8a75ae83cb2c058fe89bf90df (diff)
downloadafl++-02e8919cbc744064510f6cd99539f7662343073f.tar.gz
Suppress spurious output
Diffstat (limited to 'frida_mode/src/intercept.c')
-rw-r--r--frida_mode/src/intercept.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/frida_mode/src/intercept.c b/frida_mode/src/intercept.c
index ed8d27bd..26d20c50 100644
--- a/frida_mode/src/intercept.c
+++ b/frida_mode/src/intercept.c
@@ -1,8 +1,7 @@
 #include "frida-gumjs.h"
 
-#include "debug.h"
-
 #include "intercept.h"
+#include "util.h"
 
 void intercept_hook(void *address, gpointer replacement, gpointer user_data) {
 
@@ -10,7 +9,7 @@ void intercept_hook(void *address, gpointer replacement, gpointer user_data) {
   gum_interceptor_begin_transaction(interceptor);
   GumReplaceReturn ret =
       gum_interceptor_replace(interceptor, address, replacement, user_data);
-  if (ret != GUM_REPLACE_OK) { FATAL("gum_interceptor_attach: %d", ret); }
+  if (ret != GUM_REPLACE_OK) { FFATAL("gum_interceptor_attach: %d", ret); }
   gum_interceptor_end_transaction(interceptor);
 
 }