Skip to content

Commit

Permalink
oops
Browse files Browse the repository at this point in the history
  • Loading branch information
jakeajames authored Mar 11, 2019
1 parent 6c42fec commit 82b7f80
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion patchfinder64.m
Original file line number Diff line number Diff line change
Expand Up @@ -510,7 +510,8 @@ static int DecodeMov(uint32_t opcode, uint64_t total, int first, uint64_t *newva
if (max < seg->vmaddr + seg->vmsize) {
max = seg->vmaddr + seg->vmsize;
}
else if (!strcmp(seg->segname, "__TEXT_EXEC")) {

if (!strcmp(seg->segname, "__TEXT_EXEC")) {
XNUCore_Base = seg->vmaddr;
XNUCore_Size = seg->filesize;
}
Expand Down

0 comments on commit 82b7f80

Please sign in to comment.