aboutsummaryrefslogtreecommitdiff
path: root/src/hook/inject.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/hook/inject.h')
-rw-r--r--src/hook/inject.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/hook/inject.h b/src/hook/inject.h
new file mode 100644
index 0000000..e82c445
--- /dev/null
+++ b/src/hook/inject.h
@@ -0,0 +1,10 @@
+#ifndef INJECT_H
+#define INJECT_H
+
+#include <stdint.h>
+#include <sys/types.h>
+
+void* inject_syscall(pid_t pid, uintptr_t syscall_n, void*, void*, void*, void*, void*, void*);
+int load_library(pid_t pid, char* lib_path);
+
+#endif \ No newline at end of file