From 26429b42ace55d2dc4eecba7a5a648cc49811941 Mon Sep 17 00:00:00 2001 From: Pwn20wnd Date: Sun, 10 Feb 2019 20:43:19 +0300 Subject: Use the updated patchfinder64 from submodule --- main.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'main.m') diff --git a/main.m b/main.m index 17b7e00..de107ff 100644 --- a/main.m +++ b/main.m @@ -9,7 +9,7 @@ #include #include #include -#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"); -- cgit v1.2.3