HyperDbg Debugger
Loading...
Searching...
No Matches
Ud.h
Go to the documentation of this file.
1
12#pragma once
13
15// Structures //
17
43
45// Functions //
47
50
51VOID
53
57 PUSERMODE_DEBUGGING_PROCESS_DETAILS ProcessDebuggingDetail);
58
59VOID
61
66
69 UINT32 ActionRequestInputLength,
70 UINT32 ActionRequestOutputLength);
71
74 PUSERMODE_DEBUGGING_PROCESS_DETAILS ProcessDebuggingDetail);
75
78 BOOLEAN TrapSetByDebugger);
79
80VOID
UCHAR BOOLEAN
Definition BasicTypes.h:35
void * PVOID
Definition BasicTypes.h:56
unsigned int UINT32
Definition BasicTypes.h:54
enum _DEBUGGEE_PAUSING_REASON DEBUGGEE_PAUSING_REASON
enum for reasons why debuggee is paused
struct _DEBUGGER_TRIGGERED_EVENT_DETAILS * PDEBUGGER_TRIGGERED_EVENT_DETAILS
struct _DEBUGGER_UD_COMMAND_PACKET * PDEBUGGER_UD_COMMAND_PACKET
struct _PROCESSOR_DEBUGGING_STATE PROCESSOR_DEBUGGING_STATE
Saves the debugger state.
BOOLEAN UdCheckForCommand(PROCESSOR_DEBUGGING_STATE *DbgState, PUSERMODE_DEBUGGING_PROCESS_DETAILS ProcessDebuggingDetail)
Check for the user-mode commands.
Definition Ud.c:558
BOOLEAN UdCheckAndHandleBreakpointsAndDebugBreaks(PROCESSOR_DEBUGGING_STATE *DbgState, DEBUGGEE_PAUSING_REASON Reason, PDEBUGGER_TRIGGERED_EVENT_DETAILS EventDetails)
Handle DBs and BPs for kernel debugger.
Definition Ud.c:812
VOID UdUninitializeUserDebugger()
uninitialize user debugger
Definition Ud.c:90
BOOLEAN UdInitializeUserDebugger()
initialize user debugger
Definition Ud.c:21
BOOLEAN UdDispatchUsermodeCommands(PDEBUGGER_UD_COMMAND_PACKET ActionRequest, UINT32 ActionRequestInputLength, UINT32 ActionRequestOutputLength)
Dispatch the user-mode commands.
Definition Ud.c:642
VOID UdSendFormatsFunctionResult(UINT64 Value)
Send the result of formats command to the user debugger.
Definition Ud.c:195
struct _USERMODE_DEBUGGING_PROCESS_DETAILS * PUSERMODE_DEBUGGING_PROCESS_DETAILS
BOOLEAN UdHandleDebugEventsWhenUserDebuggerIsAttached(PROCESSOR_DEBUGGING_STATE *DbgState, BOOLEAN TrapSetByDebugger)
Handles debug events when user-debugger is attached.
Definition Ud.c:267
struct _USERMODE_DEBUGGING_PROCESS_DETAILS USERMODE_DEBUGGING_PROCESS_DETAILS
Description of each active thread in user-mode attaching mechanism.
VOID UdApplyHardwareDebugRegister(PVOID TargetAddress)
Apply hardware debug registers to all cores.
Definition Ud.c:180
BOOLEAN UdHandleInstantBreak(PROCESSOR_DEBUGGING_STATE *DbgState, DEBUGGEE_PAUSING_REASON Reason, PUSERMODE_DEBUGGING_PROCESS_DETAILS ProcessDebuggingDetail)
Handle cases where we instant break is needed on the user debugger.
Definition Ud.c:122
RequestedActionOfThePacket Value(0x1) 00000000
Description of each active thread in user-mode attaching mechanism.
Definition Ud.h:24
LIST_ENTRY ThreadsListHead
Definition Ud.h:40
UINT64 Context
Definition Ud.h:30
UINT64 Token
Definition Ud.h:25
BOOLEAN CheckCallBackForInterceptingFirstInstruction
Definition Ud.h:39
UINT64 BaseAddressOfMainModule
Definition Ud.h:33
BOOLEAN Is32Bit
Definition Ud.h:36
UINT32 ActiveThreadId
Definition Ud.h:28
BOOLEAN Enabled
Definition Ud.h:26
UINT32 ProcessId
Definition Ud.h:35
BOOLEAN IsOnThreadInterceptingPhase
Definition Ud.h:38
UINT64 EntrypointOfMainModule
Definition Ud.h:32
PVOID PebAddressToMonitor
Definition Ud.h:27
GUEST_REGS Registers
Definition Ud.h:29
BOOLEAN IsOnTheStartingPhase
Definition Ud.h:37
PEPROCESS Eprocess
Definition Ud.h:34
LIST_ENTRY AttachedProcessList
Definition Ud.h:31
Definition BasicTypes.h:136