[SDK] Improve x64 definition of DISPATCHER_CONTEXT

This commit is contained in:
Timo Kreuzer 2020-01-13 16:30:33 +01:00
parent ed3c50f748
commit a22ab61a87
2 changed files with 11 additions and 10 deletions

View file

@ -1001,15 +1001,16 @@ typedef struct _UCALLOUT_FRAME
typedef struct _DISPATCHER_CONTEXT typedef struct _DISPATCHER_CONTEXT
{ {
ULONG64 ControlPc; ULONG64 ControlPc;
PVOID ImageBase; ULONG64 ImageBase;
PVOID FunctionEntry; struct _RUNTIME_FUNCTION *FunctionEntry;
PVOID EstablisherFrame; ULONG64 EstablisherFrame;
ULONG64 TargetIp; ULONG64 TargetIp;
PVOID ContextRecord; PCONTEXT ContextRecord;
PVOID LanguageHandler; PEXCEPTION_ROUTINE LanguageHandler;
PVOID HandlerData; PVOID HandlerData;
PVOID HistoryTable; struct _UNWIND_HISTORY_TABLE *HistoryTable;
ULONG ScopeIndex; ULONG ScopeIndex;
ULONG Fill0;
} DISPATCHER_CONTEXT, *PDISPATCHER_CONTEXT; } DISPATCHER_CONTEXT, *PDISPATCHER_CONTEXT;
typedef struct _KSTART_FRAME typedef struct _KSTART_FRAME

View file

@ -1488,11 +1488,11 @@ VOID
typedef struct _DISPATCHER_CONTEXT typedef struct _DISPATCHER_CONTEXT
{ {
ULONG64 ControlPc; ULONG64 ControlPc;
PVOID ImageBase; ULONG64 ImageBase;
PVOID FunctionEntry; PRUNTIME_FUNCTION FunctionEntry;
PVOID EstablisherFrame; ULONG64 EstablisherFrame;
ULONG64 TargetIp; ULONG64 TargetIp;
PVOID ContextRecord; struct _CONTEXT *ContextRecord;
PEXCEPTION_ROUTINE LanguageHandler; PEXCEPTION_ROUTINE LanguageHandler;
PVOID HandlerData; PVOID HandlerData;
PUNWIND_HISTORY_TABLE HistoryTable; PUNWIND_HISTORY_TABLE HistoryTable;