HyperDbg Debugger
Loading...
Searching...
No Matches
BreakpointCommands.h
Go to the documentation of this file.
1
12#pragma once
13
15// Locks //
17
23
25// Functions //
27
28VOID
30
33
36
39
42 UINT64 GuestRip,
44 BOOLEAN ChangeMtfState);
45
48
51
UCHAR BOOLEAN
Definition BasicTypes.h:39
#define VOID
Definition BasicTypes.h:33
unsigned __int64 UINT64
Definition BasicTypes.h:21
unsigned int UINT32
Definition BasicTypes.h:48
BOOLEAN BreakpointHandleBreakpoints(UINT32 CoreId)
Handle breakpoint vm-exits (#BP)
Definition BreakpointCommands.c:685
BOOLEAN BreakpointAddNew(PDEBUGGEE_BP_PACKET BpDescriptorArg)
Add new breakpoints.
Definition BreakpointCommands.c:893
BOOLEAN BreakpointCheckAndHandleDebugBreakpoint(UINT32 CoreId)
Check and handle debug breakpoint exceptions.
Definition BreakpointCommands.c:238
BOOLEAN BreakpointRestoreTheTrapFlagOnceTriggered(UINT32 ProcessId, UINT32 ThreadId)
This function makes sure to unset the RFLAGS.TF on next trigger of #DB on the target process/thread.
Definition BreakpointCommands.c:174
BOOLEAN BreakpointCheckAndHandleReApplyingBreakpoint(UINT32 CoreId)
Check and reapply breakpoint.
Definition BreakpointCommands.c:442
BOOLEAN BreakpointListOrModify(PDEBUGGEE_BP_LIST_OR_MODIFY_PACKET ListOrModifyBreakpoints)
List of modify breakpoints.
Definition BreakpointCommands.c:1089
volatile LONG BreakpointCommandTrapListLock
The lock for modifying list of process/thread for unsetting TRAP FLAG.
Definition BreakpointCommands.h:22
BOOLEAN BreakpointCheckAndHandleDebuggerDefinedBreakpoints(PROCESSOR_DEBUGGING_STATE *DbgState, UINT64 GuestRip, DEBUGGEE_PAUSING_REASON Reason, BOOLEAN ChangeMtfState)
Check if the breakpoint vm-exit relates to 'bp' command or not.
Definition BreakpointCommands.c:497
VOID BreakpointRemoveAllBreakpoints()
Remove all the breakpoints if possible.
Definition BreakpointCommands.c:803
enum _DEBUGGEE_PAUSING_REASON DEBUGGEE_PAUSING_REASON
enum for reasons why debuggee is paused
The structure of breakpoint modification requests packet in HyperDbg.
Definition RequestStructures.h:1090
The structure of bp command packet in HyperDbg.
Definition RequestStructures.h:1060
Saves the debugger state.
Definition State.h:165