summaryrefslogtreecommitdiff
path: root/main.m
diff options
context:
space:
mode:
authorPwn20wnd <pwn20wndstuff@gmail.com>2019-02-10 20:43:19 +0300
committerSam Bingner <sam@bingner.com>2019-02-10 14:38:03 -1000
commit26429b42ace55d2dc4eecba7a5a648cc49811941 (patch)
tree473ed8d0a53975e2d06d0d40dd356ab87dd508fb /main.m
parentfd173298abf775de4275db48a2870f0fea9b6bc5 (diff)
Use the updated patchfinder64 from submodulev0.4%b2
Diffstat (limited to 'main.m')
-rw-r--r--main.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.m b/main.m
index 17b7e00..de107ff 100644
--- a/main.m
+++ b/main.m
@@ -9,7 +9,7 @@
#include <CoreFoundation/CoreFoundation.h>
#include <mach/mach.h>
#include <dlfcn.h>
-#include "patchfinder64.h"
+#include "patchfinder64/patchfinder64.h"
#include "CSCommon.h"
#include "kern_funcs.h"
#include "inject.h"
@@ -46,7 +46,7 @@ int main(int argc, char* argv[]) {
(kernel_base = dyld_info.all_image_info_addr) == 0) {
return -3;
}
- init_kernel(kernel_base, NULL);
+ init_kernel(kread, kernel_base, NULL);
uint64_t trust_chain = find_trustcache();
term_kernel();
printf("Injecting to trust cache...\n");