HRESULT
RtlpUnwindFunctionCompact(
__in ULONG ControlPcRva,
- __in PIMAGE_ARM_RUNTIME_FUNCTION_ENTRY FunctionEntry,
+ __in PT_RUNTIME_FUNCTION FunctionEntry,
__inout PT_CONTEXT ContextRecord,
__out PULONG EstablisherFrame,
__deref_opt_out_opt PEXCEPTION_ROUTINE *HandlerRoutine,
RtlpUnwindFunctionFull(
__in ULONG ControlPcRva,
__in ULONG ImageBase,
- __in PIMAGE_ARM_RUNTIME_FUNCTION_ENTRY FunctionEntry,
+ __in PT_RUNTIME_FUNCTION FunctionEntry,
__inout PT_CONTEXT ContextRecord,
__out PULONG EstablisherFrame,
__deref_opt_out_opt PEXCEPTION_ROUTINE *HandlerRoutine,
DWORD startingPc = pContext->Pc;
DWORD startingSp = pContext->Sp;
- IMAGE_ARM_RUNTIME_FUNCTION_ENTRY Rfe;
+ T_RUNTIME_FUNCTION Rfe;
if (FAILED(GetFunctionEntry(DBS_EXTEND64(pContext->Pc), &Rfe, sizeof(Rfe))))
return FALSE;
PEXCEPTION_ROUTINE handlerRoutine;
HRESULT res;
- IMAGE_ARM_RUNTIME_FUNCTION_ENTRY rfe;
- rfe.BeginAddress = FunctionEntry->BeginAddress;
- rfe.UnwindData = FunctionEntry->UnwindData;
-
ARM_UNWIND_PARAMS unwindParams;
unwindParams.ContextPointers = ContextPointers;
if ((FunctionEntry->UnwindData & 3) != 0)
{
res = RtlpUnwindFunctionCompact(ControlPc - ImageBase,
- &rfe,
+ FunctionEntry,
ContextRecord,
EstablisherFrame,
&handlerRoutine,
{
res = RtlpUnwindFunctionFull(ControlPc - ImageBase,
ImageBase,
- &rfe,
+ FunctionEntry,
ContextRecord,
EstablisherFrame,
&handlerRoutine,