Files
kstuff-lite/prosper0gdb/offsets/2_25.h
T

94 lines
3.1 KiB
C

// offsets/2_25.h
#ifndef OFFSETS_2_25_H
#define OFFSETS_2_25_H
#include "../offsets.h"
START_FW(225)
DEF(allproc, 0x3711c28)
DEF(idt, 0x73bcad0)
DEF(gdt_array, 0x73bdc70)
DEF(tss_array, 0x73bf670)
DEF(pcpu_array, 0x73c1080)
DEF(doreti_iret, -0x966c2c)
DEF(add_rsp_iret, doreti_iret - 7)
DEF(swapgs_add_rsp_iret, doreti_iret - 10)
DEF(rep_movsb_pop_rbp_ret, -0x92755a)
DEF(rdmsr_start, -0x96dcc3)
DEF(wrmsr_ret, -0x9694ac)
DEF(nop_ret, wrmsr_ret + 2)
DEF(dr2gpr_start, -0x96de12)
DEF(gpr2dr_1_start, -0x96dd9c)
DEF(gpr2dr_2_start, -0x96dd7d)
DEF(mov_cr3_rax_mov_ds, -0x96d9d9)
DEF(mov_rax_cr3, -0x3662c0)
DEF(cpu_switch, -0x96e000)
DEF(mprotect_fix_start, -0x8a7031)
DEF(mprotect_fix_end, mprotect_fix_start + 6)
DEF(aslr_fix_start, -0x7fdca4)
DEF(aslr_fix_end, -0x7fdc52)
DEF(sysents, 0x1176dd0)
DEF(sysents_ps4, 0x116e5b0)
DEF(sysentvec, 0x1c502d8)
DEF(sysentvec_ps4, 0x1c50450)
DEF(sceSblServiceMailbox, -0x63bea0)
DEF(sceSblAuthMgrSmIsLoadable2, -0x843e80)
DEF(syscall_before, -0x7a7c8f)
DEF(syscall_after, -0x7a7c6c)
DEF(malloc, -0x9e640)
DEF(M_something, 0x2283490)
DEF(loadSelfSegment_epilogue, -0x843632)
DEF(loadSelfSegment_watchpoint, -0x2ac2e8)
DEF(loadSelfSegment_watchpoint_lr, -0x843897)
DEF(decryptSelfBlock_watchpoint_lr, -0x8434fa)
DEF(decryptSelfBlock_epilogue, -0x84343c)
DEF(decryptMultipleSelfBlocks_watchpoint_lr, -0x842fe5)
DEF(decryptMultipleSelfBlocks_epilogue, -0x842b5c)
DEF(sceSblServiceMailbox_lr_verifyHeader, -0x843ac1)
DEF(sceSblServiceMailbox_lr_loadSelfSegment, -0x8436a6)
DEF(sceSblServiceMailbox_lr_decryptSelfBlock, -0x8431bc)
DEF(sceSblServiceMailbox_lr_decryptMultipleSelfBlocks, -0x842c16)
DEF(sceSblServiceMailbox_lr_sceSblAuthMgrSmFinalize, -0x843eee)
DEF(sceSblServiceMailbox_lr_verifySuperBlock, -0x8e5ea5)
DEF(sceSblServiceMailbox_lr_sceSblPfsClearKey_1, -0x8e647c)
DEF(sceSblServiceMailbox_lr_sceSblPfsClearKey_2, -0x8e6410)
DEF(sceSblServiceMailbox_lr_npdrm_cmd_5, -0x2f249f)
DEF(sceSblServiceMailbox_lr_npdrm_cmd_6, -0x2f21fa)
DEF(sceSblPfsSetKeys, -0x8e6180)
DEF(sceSblServiceCryptAsync, -0x88a750)
DEF(sceSblServiceCryptAsync_deref_singleton, -0x88a712)
DEF(copyin, -0x927cf0)
DEF(copyout, -0x927d90)
DEF(crypt_message_resolve, -0x449b90)
DEF(justreturn, -0x966d70)
DEF(justreturn_pop, justreturn + 8)
DEF(mini_syscore_header, 0x1ca8488)
DEF(pop_all_iret, -0x966c8b)
DEF(pop_all_except_rdi_iret, pop_all_iret + 4)
DEF(push_pop_all_iret, -0x9071c8)
DEF(kernel_pmap_store, 0x41438c8)
DEF(crypt_singleton_array, 0x3d22390)
DEF(mov_rax_cr0, -0x4f6129)
DEF(cr0_load, -0x8beca0)
DEF(cr0_clear_store, -0x52ac96)
DEF(cr0_write_ret, -0x4f5dd7)
DEF(store_rax_rdi, -0x96e1ee)
DEF(syscall_cfi_table_jmp_int3, -0x903440)
// PPR/fPKG offsets statically revalidated against retail 2.25.elf.
DEF(ppr_pfs_get_xts_index, -0x1070d0)
DEF(ppr_pfs_get_cmac_index, -0x106f70)
DEF(ppr_pfs_get_xts_return, -0x81129f)
DEF(ppr_pfs_get_cmac_return, -0x811251)
DEF(ppr_pfs_cleanup_keys, -0x818070)
DEF(ppr_pfs_clear_key_missing, -0x8e6677)
DEF(sceSblServiceMailbox_lr_verifyImage, -0x8e7adf)
DEF(ppr_pfs_verify_image_no_key_success, -0x8e7638)
// non data-relative offsets
DEF(p_sysent, 0x988)
#include "offset_list.txt"
END_FW()
#endif