diff options
author | Your Name <you@example.com> | 2021-11-18 17:08:39 +0000 |
---|---|---|
committer | Your Name <you@example.com> | 2021-11-18 17:08:39 +0000 |
commit | af02fa1670db6d19feaf0a3e54d9d8013ad3312f (patch) | |
tree | 72cffafe0ca3340659f0321bad548e2d336e4a12 /frida_mode/src/js/js.c | |
parent | 3b9545854fdfb5be111a9891675882c187801fb0 (diff) | |
download | afl++-af02fa1670db6d19feaf0a3e54d9d8013ad3312f.tar.gz |
Improve JS bindings for hooking functions
Diffstat (limited to 'frida_mode/src/js/js.c')
-rw-r--r-- | frida_mode/src/js/js.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/frida_mode/src/js/js.c b/frida_mode/src/js/js.c index 37cd377b..5f477388 100644 --- a/frida_mode/src/js/js.c +++ b/frida_mode/src/js/js.c @@ -3,10 +3,11 @@ #include "js.h" #include "util.h" -static char * js_script = NULL; gboolean js_done = FALSE; js_api_stalker_callback_t js_user_callback = NULL; +js_main_hook_t js_main_hook = NULL; +static char * js_script = NULL; static gchar * filename = "afl.js"; static gchar * contents; static GumScriptBackend * backend; |