Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #define KERNEL_OFFSET_SYS_FORK_PATCH_1 0x20763
- void kernel_patch_fork()
- {
- kernel_write_protection_disable();
- uint8_t *kmem = (uint8_t *)(kernelBase + KERNEL_OFFSET_SYS_FORK_PATCH_1);
- for(int i = 0; i < 9; i++)
- {
- kmem[i] = 0x90;
- }
- kernel_write_protection_enable();
- }
Add Comment
Please, Sign In to add comment