4#ifndef SYMS_UNWIND_PE_X64_H
5#define SYMS_UNWIND_PE_X64_H
25#define SYMS_UnwindPeCode_CodeFromFlags(x) ((x) & 0xf)
26#define SYMS_UnwindPeCode_InfoFromFlags(x) (((x) & 0xf0) >> 4)
44#define SYMS_UnwindPeInfo_VersionFromHeader(x) ((x) & 0x07)
45#define SYMS_UnwindPeInfo_FlagsFromHeader(x) (((x) & 0xf8) >> 3)
46#define SYMS_UnwindPeInfo_RegFromFrame(x) ((x) & 0x0f)
47#define SYMS_UnwindPeInfo_OffFromFrame(x) (((x) & 0xf0) >> 4)
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
Definition syms_base.h:410
Definition syms_pe_parser.h:15
Definition syms_meta_regs_x64.h:6
Definition syms_base.h:296
Definition syms_unwind_pe_x64.h:49
SYMS_U8 prolog_size
Definition syms_unwind_pe_x64.h:51
SYMS_U8 header
Definition syms_unwind_pe_x64.h:50
SYMS_U8 codes_num
Definition syms_unwind_pe_x64.h:52
SYMS_U8 frame
Definition syms_unwind_pe_x64.h:53
Definition syms_base.h:420
#define SYMS_API
Definition syms_base.h:29
#define SYMS_C_LINKAGE_BEGIN
Definition syms_base.h:37
SYMS_S32 SYMS_B32
Definition syms_base.h:99
#define SYMS_C_LINKAGE_END
Definition syms_base.h:38
uint32_t SYMS_U32
Definition syms_crt_overrides.h:38
uint64_t SYMS_U64
Definition syms_crt_overrides.h:39
uint16_t SYMS_U16
Definition syms_crt_overrides.h:37
uint8_t SYMS_U8
Definition syms_crt_overrides.h:36
SYMS_API SYMS_Reg64 * syms_unwind_pe_x64__gpr_reg(SYMS_RegX64 *regs, SYMS_UnwindPeX64GprReg reg_id)
Definition syms_unwind_pe_x64.c:742
@ SYMS_UnwindPeInfoFlag_CHAINED
Definition syms_unwind_pe_x64.h:41
@ SYMS_UnwindPeInfoFlag_UHANDLER
Definition syms_unwind_pe_x64.h:39
@ SYMS_UnwindPeInfoFlag_FHANDLER
Definition syms_unwind_pe_x64.h:40
@ SYMS_UnwindPeInfoFlag_EHANDLER
Definition syms_unwind_pe_x64.h:38
SYMS_API SYMS_B32 syms_unwind_pe_x64__voff_is_in_epilog(SYMS_String8 bin_data, SYMS_PeBinAccel *bin, SYMS_U64 voff, SYMS_PeIntelPdata *final_pdata)
Definition syms_unwind_pe_x64.c:589
SYMS_API SYMS_U32 syms_unwind_pe_x64__slot_count_from_op_code(SYMS_UnwindPeOpCode op_code)
Definition syms_unwind_pe_x64.c:570
SYMS_U8 SYMS_UnwindPeInfoFlags
Definition syms_unwind_pe_x64.h:36
SYMS_U32 SYMS_UnwindPeOpCode
Definition syms_unwind_pe_x64.h:10
SYMS_C_LINKAGE_BEGIN SYMS_API SYMS_UnwindResult syms_unwind_pe_x64(SYMS_String8 bin_data, SYMS_PeBinAccel *bin, SYMS_U64 bin_base, SYMS_MemoryView *memview, SYMS_RegX64 *regs_in_out)
Definition syms_unwind_pe_x64.c:10
SYMS_U8 SYMS_UnwindPeX64GprReg
Definition syms_unwind_pe_x64.h:59
@ SYMS_UnwindPeX64GprReg_RSI
Definition syms_unwind_pe_x64.h:67
@ SYMS_UnwindPeX64GprReg_R14
Definition syms_unwind_pe_x64.h:75
@ SYMS_UnwindPeX64GprReg_R12
Definition syms_unwind_pe_x64.h:73
@ SYMS_UnwindPeX64GprReg_RBP
Definition syms_unwind_pe_x64.h:66
@ SYMS_UnwindPeX64GprReg_R8
Definition syms_unwind_pe_x64.h:69
@ SYMS_UnwindPeX64GprReg_RCX
Definition syms_unwind_pe_x64.h:62
@ SYMS_UnwindPeX64GprReg_R9
Definition syms_unwind_pe_x64.h:70
@ SYMS_UnwindPeX64GprReg_R13
Definition syms_unwind_pe_x64.h:74
@ SYMS_UnwindPeX64GprReg_RDX
Definition syms_unwind_pe_x64.h:63
@ SYMS_UnwindPeX64GprReg_RAX
Definition syms_unwind_pe_x64.h:61
@ SYMS_UnwindPeX64GprReg_RBX
Definition syms_unwind_pe_x64.h:64
@ SYMS_UnwindPeX64GprReg_RDI
Definition syms_unwind_pe_x64.h:68
@ SYMS_UnwindPeX64GprReg_RSP
Definition syms_unwind_pe_x64.h:65
@ SYMS_UnwindPeX64GprReg_R10
Definition syms_unwind_pe_x64.h:71
@ SYMS_UnwindPeX64GprReg_R15
Definition syms_unwind_pe_x64.h:76
@ SYMS_UnwindPeX64GprReg_R11
Definition syms_unwind_pe_x64.h:72
@ SYMS_UnwindPeOpCode_SAVE_XMM128_FAR
Definition syms_unwind_pe_x64.h:21
@ SYMS_UnwindPeOpCode_EPILOG
Definition syms_unwind_pe_x64.h:18
@ SYMS_UnwindPeOpCode_ALLOC_LARGE
Definition syms_unwind_pe_x64.h:13
@ SYMS_UnwindPeOpCode_SET_FPREG
Definition syms_unwind_pe_x64.h:15
@ SYMS_UnwindPeOpCode_PUSH_MACHFRAME
Definition syms_unwind_pe_x64.h:22
@ SYMS_UnwindPeOpCode_SAVE_XMM128
Definition syms_unwind_pe_x64.h:20
@ SYMS_UnwindPeOpCode_PUSH_NONVOL
Definition syms_unwind_pe_x64.h:12
@ SYMS_UnwindPeOpCode_ALLOC_SMALL
Definition syms_unwind_pe_x64.h:14
@ SYMS_UnwindPeOpCode_SAVE_NONVOL_FAR
Definition syms_unwind_pe_x64.h:17
@ SYMS_UnwindPeOpCode_SPARE_CODE
Definition syms_unwind_pe_x64.h:19
@ SYMS_UnwindPeOpCode_SAVE_NONVOL
Definition syms_unwind_pe_x64.h:16
SYMS_API SYMS_UnwindResult syms_unwind_pe_x64__epilog(SYMS_String8 bin_data, SYMS_PeBinAccel *bin, SYMS_U64 base, SYMS_MemoryView *memview, SYMS_RegX64 *regs_in_out)
Definition syms_unwind_pe_x64.c:362
Definition syms_regs.h:20
Definition syms_unwind_pe_x64.h:28
SYMS_U8 flags
Definition syms_unwind_pe_x64.h:31
SYMS_U16 u16
Definition syms_unwind_pe_x64.h:33
SYMS_U8 off_in_prolog
Definition syms_unwind_pe_x64.h:30