Skip to content

Commit bf04659

Browse files
committed
rename
1 parent 9cd3b78 commit bf04659

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

kernel/hook/source/main.c

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,9 +89,11 @@ int main(int argc, char **argv)
8989
ps4KernelMemoryCopy((void *)hook2, h2, 128);
9090
printf("ps4KernelMemoryCopy: %p %p\n", hook2, h2);
9191

92+
// We need to do this manually for now, since llvm code
93+
// does not
9294
s = 12;
93-
r = ps4KernelAssemblerInstructionSeek(a, &s);
94-
printf("ps4KernelAssemblerInstructionSeek: %i %zu\n", r, s);
95+
r = ps4KernelMachineInstructionSeek(a, &s);
96+
printf("ps4KernelMachineInstructionSeek: %i %zu\n", r, s);
9597

9698
r = ps4KernelFunctionIsHooked(a);
9799
printf("ps4KernelFunctionIsHooked: %i %p\n", r, a);

0 commit comments

Comments
 (0)