aboutsummaryrefslogtreecommitdiff
path: root/src/hook/inject.h
diff options
context:
space:
mode:
authorJan200101 <sentrycraft123@gmail.com>2023-01-22 02:56:48 +0100
committerJan200101 <sentrycraft123@gmail.com>2023-08-05 22:15:10 +0200
commitb97db529be365851633a6cc1c9285d930209049d (patch)
tree7a73d6adf71797b9308692a03253d15d3703b5a8 /src/hook/inject.h
parent045e16665a55e2b7b6dc2e953c91f2125f61e083 (diff)
downloadOFQT-hook.tar.gz
OFQT-hook.zip
hook stash: a1af9ba65d57be898e079a98229845f42069c1e6hook
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