Files
kstuff-lite/prosper0gdb/offsets/4_51.h
T

96 lines
3.1 KiB
C

// offsets/4_51.h
#ifndef OFFSETS_4_51_H
#define OFFSETS_4_51_H
#include "../offsets.h"
START_FW(451)
DEF(allproc, 0x27edcb8)
DEF(idt, 0x64cdc80)
DEF(gdt_array, 0x64cee30)
DEF(tss_array, 0x64d0830)
DEF(pcpu_array, 0x64d2280)
DEF(doreti_iret, -0x9cf84c)
DEF(add_rsp_iret, doreti_iret - 7)
DEF(swapgs_add_rsp_iret, doreti_iret - 10)
DEF(rep_movsb_pop_rbp_ret, -0x99002a)
DEF(rdmsr_start, -0x9d0cfa)
DEF(wrmsr_ret, -0x9d20cc)
DEF(dr2gpr_start, -0x9d6d93)
DEF(gpr2dr_1_start, -0x9d6c7a)
DEF(gpr2dr_2_start, -0x9d6b87)
DEF(mov_cr3_rax_mov_ds, -0x9d67e9)
DEF(mov_rax_cr3, -0x3921A0)
DEF(nop_ret, wrmsr_ret + 2)
DEF(cpu_switch, -0x9d6f80)
DEF(mprotect_fix_start, -0x90ac61)
DEF(mprotect_fix_end, mprotect_fix_start+6)
DEF(aslr_fix_start, -0x85A342)
DEF(aslr_fix_end, -0x85A302)
DEF(sysents, 0x1709c0)
DEF(sysents_ps4, 0x168410)
DEF(sysentvec, 0xd11bb8)
DEF(sysentvec_ps4, 0xd11d30)
DEF(sceSblServiceMailbox, -0x682490)
DEF(sceSblAuthMgrSmIsLoadable2, -0x8a5be0)
DEF(syscall_before, -0x8022e1)
DEF(syscall_after, -0x8022be)
DEF(malloc, -0xa9510)
DEF(M_something, 0x1346080)
DEF(loadSelfSegment_epilogue, -0x8a546d)
DEF(loadSelfSegment_watchpoint, -0x2cc3c8)
DEF(loadSelfSegment_watchpoint_lr, -0x8a56c7)
DEF(decryptSelfBlock_watchpoint_lr, -0x8a532a)
DEF(decryptSelfBlock_epilogue, -0x8a5263)
DEF(decryptMultipleSelfBlocks_watchpoint_lr, -0x8a4bf5)
DEF(decryptMultipleSelfBlocks_epilogue, -0x8a4772)
DEF(sceSblServiceMailbox_lr_verifyHeader, -0x8a585c)
DEF(sceSblServiceMailbox_lr_loadSelfSegment, -0x8a54e1)
DEF(sceSblServiceMailbox_lr_decryptSelfBlock, -0x8a4fb4)
DEF(sceSblServiceMailbox_lr_decryptMultipleSelfBlocks, -0x8a482c)
DEF(sceSblServiceMailbox_lr_sceSblAuthMgrSmFinalize, -0x8a5c5e)
DEF(sceSblServiceMailbox_lr_verifySuperBlock, -0x94a7f0)
DEF(sceSblServiceMailbox_lr_sceSblPfsClearKey_1, -0x94ada4)
DEF(sceSblServiceMailbox_lr_sceSblPfsClearKey_2, -0x94ad2e)
DEF(sceSblServiceMailbox_lr_npdrm_cmd_5, -0x3184fe)
DEF(sceSblServiceMailbox_lr_npdrm_cmd_6, -0x31824a)
DEF(sceSblPfsSetKeys, -0x94aaa0)
DEF(sceSblServiceCryptAsync, -0x8ed930)
DEF(sceSblServiceCryptAsync_deref_singleton, -0x8ed8f2)
DEF(copyin, -0x9908e0)
DEF(copyout, -0x990990)
DEF(crypt_message_resolve, -0x479890)
DEF(justreturn, -0x9cf990)
DEF(justreturn_pop, justreturn+8)
DEF(mini_syscore_header, 0xdc16e8)
DEF(pop_all_iret, -0x9cf8ab)
DEF(pop_all_except_rdi_iret, pop_all_iret+4)
DEF(push_pop_all_iret, -0x96d488)
DEF(kernel_pmap_store, 0x3257a78)
DEF(crypt_singleton_array, 0x2e31830)
DEF(mov_rax_cr0, -0x9d6ee1)
DEF(syscall_cfi_table_jmp_int3, -0x96a710)
DEF(cr0_load, -0x92333C)
DEF(cr0_clear_store, -0x566B20)
DEF(cr0_write_ret, -0x52D763)
DEF(store_rax_rdi, -0x9D716E)
// PPR/fPKG offsets are devkit-derived (4.51.elf); retail is not validated.
DEF(ppr_pfs_get_xts_index, -0x1168c0)
DEF(ppr_pfs_get_cmac_index, -0x116760)
DEF(ppr_pfs_get_xts_return, -0x86fa52)
DEF(ppr_pfs_get_cmac_return, -0x86fa04)
DEF(ppr_pfs_cleanup_keys, -0x877b30)
DEF(ppr_pfs_clear_key_missing, -0x94aff7)
DEF(sceSblServiceMailbox_lr_verifyImage, -0x94c42f)
DEF(ppr_pfs_verify_image_no_key_success, -0x94bf87)
// non data-relative offsets
DEF(p_sysent, 0x9C0)
#include "offset_list.txt"
END_FW()
#endif