about summary refs log tree commit diff
path: root/frida_mode/include/intercept.h
diff options
context:
space:
mode:
authorWorksButNotTested <62701594+WorksButNotTested@users.noreply.github.com>2021-06-24 18:46:08 +0100
committerGitHub <noreply@github.com>2021-06-24 19:46:08 +0200
commitf348a35ec6cece54796599865c683505a475fe88 (patch)
tree38b46a34787b467a203d7432a8a3886b4123d621 /frida_mode/include/intercept.h
parent4057134d3c6ed202d426ebdcc9aa4edf3e122bda (diff)
downloadafl++-f348a35ec6cece54796599865c683505a475fe88.tar.gz
Added JS support (#992)
* Added JS support

* Added some documentation

Co-authored-by: Your Name <you@example.com>
Diffstat (limited to 'frida_mode/include/intercept.h')
-rw-r--r--frida_mode/include/intercept.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/frida_mode/include/intercept.h b/frida_mode/include/intercept.h
new file mode 100644
index 00000000..8fe93b10
--- /dev/null
+++ b/frida_mode/include/intercept.h
@@ -0,0 +1,11 @@
+#ifndef _INTERCEPTOR_H
+#define _INTERCEPTOR_H
+
+#include "frida-gumjs.h"
+
+void intercept_hook(void *address, gpointer replacement, gpointer user_data);
+void intercept_unhook(void *address);
+void intercept_unhook_self(void);
+
+#endif
+