HyperDbg Debugger
Loading...
Searching...
No Matches
State.h
Go to the documentation of this file.
1
12#pragma once
13
15// Structures //
17
23{
24 UINT64 Msr; // Msr (ecx)
25 UINT64 Value; // the value to write on msr
26
28
39
66
88
99
118
130
144
156
unsigned short UINT16
Definition BasicTypes.h:53
UCHAR BOOLEAN
Definition BasicTypes.h:35
long LONG
Definition BasicTypes.h:28
void * PVOID
Definition BasicTypes.h:56
unsigned char BYTE
Definition BasicTypes.h:40
unsigned int UINT32
Definition BasicTypes.h:54
char CHAR
Definition BasicTypes.h:33
#define MAXIMUM_NUMBER_OF_THREAD_INFORMATION_FOR_TRAPS
maximum number of thread/process ids to be allocated for a simultaneous debugging
Definition Constants.h:409
#define MaxSerialPacketSize
size of buffer for serial
Definition Constants.h:202
struct _DEBUGGER_TRAP_FLAG_STATE DEBUGGER_TRAP_FLAG_STATE
The status of RFLAGS.TF masking.
struct _DEBUGGEE_INSTRUMENTATION_STEP_IN_TRACE * PDEBUGGEE_INSTRUMENTATION_STEP_IN_TRACE
struct _DEBUGGEE_PROCESS_OR_THREAD_TRACING_DETAILS * PDEBUGGEE_PROCESS_OR_THREAD_TRACING_DETAILS
struct _DEBUGGEE_INSTRUMENTATION_STEP_IN_TRACE DEBUGGEE_INSTRUMENTATION_STEP_IN_TRACE
Use to trace the execution in the case of instrumentation step-in command (i command).
struct _KD_NMI_STATE * PKD_NMI_STATE
struct _DEBUGGEE_HALTED_CORE_TASK * PDEBUGGEE_HALTED_CORE_TASK
struct _DATE_TIME_HOLDER * PDATE_TIME_HOLDER
struct _DEBUGGER_TRAP_FLAG_STATE * PDEBUGGER_TRAP_FLAG_STATE
struct _DATE_TIME_HOLDER DATE_TIME_HOLDER
Timer for the core.
struct _KD_NMI_STATE KD_NMI_STATE
The status of NMI in the kernel debugger.
struct _DEBUGGER_PROCESS_THREAD_INFORMATION * PDEBUGGER_PROCESS_THREAD_INFORMATION
struct _DEBUGGEE_HALTED_CORE_TASK DEBUGGEE_HALTED_CORE_TASK
Details of setting tasks for the locked (halted) cores.
struct _PROCESSOR_DEBUGGING_STATE PPROCESSOR_DEBUGGING_STATE
struct _DEBUGGEE_BP_DESCRIPTOR DEBUGGEE_BP_DESCRIPTOR
The structure of storing breakpoints.
struct _PROCESSOR_DEBUGGING_STATE PROCESSOR_DEBUGGING_STATE
Saves the debugger state.
struct _DEBUGGEE_PROCESS_OR_THREAD_TRACING_DETAILS DEBUGGEE_PROCESS_OR_THREAD_TRACING_DETAILS
Structure to save the state of adding trace for threads and processes.
struct _PROCESSOR_DEBUGGING_MSR_READ_OR_WRITE * PPROCESSOR_DEBUGGING_MSR_READ_OR_WRITE
struct _DEBUGGER_PROCESS_THREAD_INFORMATION DEBUGGER_PROCESS_THREAD_INFORMATION
The thread/process information.
struct _DEBUGGEE_BP_DESCRIPTOR * PDEBUGGEE_BP_DESCRIPTOR
struct _PROCESSOR_DEBUGGING_MSR_READ_OR_WRITE PROCESSOR_DEBUGGING_MSR_READ_OR_WRITE
Use to modify Msrs or read MSR values.
Timer for the core.
Definition State.h:150
CHAR DateBuffer[12]
Definition State.h:153
TIME_FIELDS TimeFields
Definition State.h:151
CHAR TimeBuffer[14]
Definition State.h:152
The structure of storing breakpoints.
Definition State.h:72
UINT64 BreakpointId
Definition State.h:73
BOOLEAN RemoveAfterHit
Definition State.h:84
BOOLEAN CheckForCallbacks
Definition State.h:85
BYTE PreviousByte
Definition State.h:82
UINT16 InstructionLength
Definition State.h:81
UINT64 Address
Definition State.h:76
BOOLEAN AvoidReApplyBreakpoint
Definition State.h:83
LIST_ENTRY BreakpointsList
Definition State.h:74
BOOLEAN Enabled
Definition State.h:75
UINT64 PhysAddress
Definition State.h:77
UINT32 Pid
Definition State.h:78
UINT32 Tid
Definition State.h:79
UINT32 Core
Definition State.h:80
Details of setting tasks for the locked (halted) cores.
Definition State.h:136
BOOLEAN LockAgainAfterTask
Definition State.h:138
UINT64 KernelStatus
Definition State.h:141
PVOID Context
Definition State.h:140
BOOLEAN PerformHaltedTask
Definition State.h:137
UINT64 TargetTask
Definition State.h:139
Use to trace the execution in the case of instrumentation step-in command (i command).
Definition State.h:35
UINT16 CsSel
Definition State.h:36
Structure to save the state of adding trace for threads and processes.
Definition State.h:46
BOOLEAN InterceptClockInterruptsForProcessChange
Definition State.h:63
BOOLEAN InitialSetByClockInterrupt
Definition State.h:50
BOOLEAN InitialSetProcessChangeEvent
Definition State.h:47
UINT64 CurrentThreadLocationOnGs
Definition State.h:55
BOOLEAN InitialSetThreadChangeEvent
Definition State.h:48
BOOLEAN DebugRegisterInterceptionState
Definition State.h:56
BOOLEAN IsWatingForMovCr3VmExits
Definition State.h:62
BOOLEAN InterceptClockInterruptsForThreadChange
Definition State.h:57
The thread/process information.
Definition State.h:105
UINT64 AsUInt
Definition State.h:108
UINT32 ProcessId
Definition State.h:112
struct _DEBUGGER_PROCESS_THREAD_INFORMATION::@377140057364001237056132370063071376367357142252::@172143030234360142230226246044006264162165314002 Fields
UINT32 ThreadId
Definition State.h:113
The status of RFLAGS.TF masking.
Definition State.h:125
DEBUGGER_PROCESS_THREAD_INFORMATION ThreadInformation[MAXIMUM_NUMBER_OF_THREAD_INFORMATION_FOR_TRAPS]
Definition State.h:127
UINT32 NumberOfItems
Definition State.h:126
The status of NMI in the kernel debugger.
Definition State.h:94
volatile BOOLEAN WaitingToBeLocked
Definition State.h:96
volatile BOOLEAN NmiCalledInVmxRootRelatedToHaltDebuggee
Definition State.h:95
Use to modify Msrs or read MSR values.
Definition State.h:23
UINT64 Msr
Definition State.h:24
UINT64 Value
Definition State.h:25
Saves the debugger state.
Definition State.h:164
GUEST_REGS * Regs
Definition State.h:167
UINT32 CoreId
Definition State.h:168
PKDPC KdDpcObject
Definition State.h:185
KD_NMI_STATE NmiState
Definition State.h:180
CHAR KdRecvBuffer[MaxSerialPacketSize]
Definition State.h:186
BOOLEAN IgnoreDisasmInNextPacket
Definition State.h:170
BOOLEAN DoNotNmiNotifyOtherCoresByThisCore
Definition State.h:173
volatile BOOLEAN MainDebuggingCore
Definition State.h:166
BOOLEAN TracingMode
Definition State.h:174
BOOLEAN Test
Definition State.h:172
volatile LONG Lock
Definition State.h:165
PROCESSOR_DEBUGGING_MSR_READ_OR_WRITE MsrState
Definition State.h:175
UINT64 * ScriptEngineCoreSpecificStackBuffer
Definition State.h:184
DEBUGGEE_PROCESS_OR_THREAD_TRACING_DETAILS ThreadOrProcessTracingDetails
Definition State.h:179
DATE_TIME_HOLDER DateTimeHolder
Definition State.h:176
UINT64 HardwareDebugRegisterForStepping
Definition State.h:183
UINT16 InstructionLengthHint
Definition State.h:182
PDEBUGGEE_BP_DESCRIPTOR SoftwareBreakpointState
Definition State.h:177
BOOLEAN ShortCircuitingEvent
Definition State.h:169
DEBUGGEE_INSTRUMENTATION_STEP_IN_TRACE InstrumentationStepInTrace
Definition State.h:178
DEBUGGEE_HALTED_CORE_TASK HaltedCoreTask
Definition State.h:181
BOOLEAN BreakStarterCore
Definition State.h:171
Definition BasicTypes.h:136