Skip to content

Commit

Permalink
Use the updated patchfinder64 from submodule
Browse files Browse the repository at this point in the history
  • Loading branch information
pwn20wndstuff committed Feb 10, 2019
1 parent a1b2323 commit bac991a
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "patchfinder64"]
path = patchfinder64
url = https://github.com/pwn20wndstuff/patchfinder64.git
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
ARCHS ?= arm64
target ?= iphone:latest:11.0
CFLAGS = -Iinclude
GO_EASY_ON_ME=1
include $(THEOS)/makefiles/common.mk

TOOL_NAME = inject
inject_CODESIGN_FLAGS = -Sentitlements.xml
inject_CFLAGS += -I./patchfinder64 -Wno-unused-variable -Wno-unused-function
inject_LIBRARIES = mis
inject_FRAMEWORKS = IOKit Security
inject_FILES = main.m inject.m patchfinder64.c kern_funcs.c
inject_FILES = main.m inject.m patchfinder64/patchfinder64.c kern_funcs.c

include $(THEOS_MAKE_PATH)/tool.mk
2 changes: 1 addition & 1 deletion main.m
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down
1 change: 1 addition & 0 deletions patchfinder64
Submodule patchfinder64 added at 2c10f5

0 comments on commit bac991a

Please sign in to comment.