[NTOS:KE/x64] Fix unwinding in KiUserApcDispatcher

This adds a MACHINE_FRAME to the user mode APC dispatcher stack frame.
This commit is contained in:
Timo Kreuzer 2024-12-11 16:47:28 +02:00
parent 91948dea80
commit 29721ac552
3 changed files with 47 additions and 6 deletions

View file

@ -1073,6 +1073,15 @@ typedef struct _UCALLOUT_FRAME
MACHINE_FRAME MachineFrame;
} UCALLOUT_FRAME, *PUCALLOUT_FRAME; // size = 0x0058
//
// User side APC dispatcher frame
//
typedef struct _UAPC_FRAME
{
CONTEXT Context;
MACHINE_FRAME MachineFrame;
} UAPC_FRAME, *PUAPC_FRAME;
//
// Stack frame layout for KiUserExceptionDispatcher
// The name is totally made up