HyperDbg Debugger
|
Implementation of debugger functions for dispatching, triggering and emulating events. More...
#include "pch.h"
Functions | |
VOID | DispatchEventEferSysret (VIRTUAL_MACHINE_STATE *VCpu, PVOID Context) |
Handling debugger functions related to SYSRET events. | |
VOID | DispatchEventEferSyscall (VIRTUAL_MACHINE_STATE *VCpu) |
Handling debugger functions related to SYSCALL events. | |
VOID | DispatchEventCpuid (VIRTUAL_MACHINE_STATE *VCpu) |
Handling debugger functions related to CPUID events. | |
VOID | DispatchEventTsc (VIRTUAL_MACHINE_STATE *VCpu, BOOLEAN IsRdtscp) |
Handling debugger functions related to RDTSC/RDTSCP events. | |
VOID | DispatchEventVmcall (VIRTUAL_MACHINE_STATE *VCpu) |
Handling debugger functions related to VMCALL events. | |
VOID | DispatchEventMode (VIRTUAL_MACHINE_STATE *VCpu, DEBUGGER_EVENT_MODE_TYPE TargetMode, BOOLEAN HandleState) |
Handling debugger functions related to user-mode/kernel-mode execution trap events. | |
VOID | DispatchEventMovToCr3 (VIRTUAL_MACHINE_STATE *VCpu) |
Handling debugger functions related to mov 2 cr3 events. | |
VOID | DispatchEventIO (VIRTUAL_MACHINE_STATE *VCpu) |
Handling debugger functions related to IO events. | |
VOID | DispatchEventRdmsr (VIRTUAL_MACHINE_STATE *VCpu) |
Handling debugger functions related to RDMSR events. | |
VOID | DispatchEventWrmsr (VIRTUAL_MACHINE_STATE *VCpu) |
Handling debugger functions related to WRMSR events. | |
VOID | DispatchEventRdpmc (VIRTUAL_MACHINE_STATE *VCpu) |
Handling debugger functions related to RDPMC events. | |
VOID | DispatchEventMov2DebugRegs (VIRTUAL_MACHINE_STATE *VCpu) |
Handling debugger functions related to MOV 2 DR events. | |
VOID | DispatchEventMovToFromControlRegisters (VIRTUAL_MACHINE_STATE *VCpu) |
Handling debugger functions related to mov to/from CR events. | |
VOID | DispatchEventException (VIRTUAL_MACHINE_STATE *VCpu) |
Handling debugger functions related to EXCEPTION events. | |
VOID | DispatchEventExternalInterrupts (VIRTUAL_MACHINE_STATE *VCpu) |
Handling debugger functions related to external-interrupt events. | |
VOID | DispatchEventHiddenHookExecCc (VIRTUAL_MACHINE_STATE *VCpu, PVOID Context) |
Handling debugger functions related to hidden hook exec CC events. | |
VOID | DispatchEventHiddenHookExecDetours (VIRTUAL_MACHINE_STATE *VCpu, PVOID Context) |
Handling debugger functions related to hidden hook exec detours events. | |
BOOLEAN | DispatchEventHiddenHookPageReadWriteExecuteReadPreEvent (VIRTUAL_MACHINE_STATE *VCpu, PVOID Context, BOOLEAN *IsTriggeringPostEventAllowed) |
Handling debugger functions related to read & write & execute, read events (pre) | |
BOOLEAN | DispatchEventHiddenHookPageReadWriteExecuteWritePreEvent (VIRTUAL_MACHINE_STATE *VCpu, PVOID Context, BOOLEAN *IsTriggeringPostEventAllowed) |
Handling debugger functions related to read & write & execute, write events (pre) | |
BOOLEAN | DispatchEventHiddenHookPageReadWriteExecuteExecutePreEvent (VIRTUAL_MACHINE_STATE *VCpu, PVOID Context, BOOLEAN *IsTriggeringPostEventAllowed) |
Handling debugger functions related to read & write & execute, execute events (pre) | |
VOID | DispatchEventHiddenHookPageReadWriteExecReadPostEvent (VIRTUAL_MACHINE_STATE *VCpu, PVOID Context) |
Handling debugger functions related to read & write & execute, read events (post) | |
VOID | DispatchEventHiddenHookPageReadWriteExecWritePostEvent (VIRTUAL_MACHINE_STATE *VCpu, PVOID Context) |
Handling debugger functions related to read & write & execute, write events (post) | |
VOID | DispatchEventHiddenHookPageReadWriteExecExecutePostEvent (VIRTUAL_MACHINE_STATE *VCpu, PVOID Context) |
Handling debugger functions related to read & write & execute, execute events (post) | |
Implementation of debugger functions for dispatching, triggering and emulating events.
VOID DispatchEventCpuid | ( | VIRTUAL_MACHINE_STATE * | VCpu | ) |
Handling debugger functions related to CPUID events.
VCpu | The virtual processor's state |
VOID DispatchEventEferSyscall | ( | VIRTUAL_MACHINE_STATE * | VCpu | ) |
Handling debugger functions related to SYSCALL events.
CoreIndex | Current core's index |
Regs | Guest's gp register |
VOID DispatchEventEferSysret | ( | VIRTUAL_MACHINE_STATE * | VCpu, |
PVOID | Context ) |
Handling debugger functions related to SYSRET events.
CoreIndex | Current core's index |
Regs | Guest's gp register |
Context | Context of triggering the event |
VOID DispatchEventException | ( | VIRTUAL_MACHINE_STATE * | VCpu | ) |
Handling debugger functions related to EXCEPTION events.
VCpu | The virtual processor's state |
VOID DispatchEventExternalInterrupts | ( | VIRTUAL_MACHINE_STATE * | VCpu | ) |
Handling debugger functions related to external-interrupt events.
VCpu | The virtual processor's state |
VOID DispatchEventHiddenHookExecCc | ( | VIRTUAL_MACHINE_STATE * | VCpu, |
PVOID | Context ) |
Handling debugger functions related to hidden hook exec CC events.
VCpu | The virtual processor's state |
Context | The context of the caller |
VOID DispatchEventHiddenHookExecDetours | ( | VIRTUAL_MACHINE_STATE * | VCpu, |
PVOID | Context ) |
Handling debugger functions related to hidden hook exec detours events.
VCpu | The virtual processor's state |
Context | The context of the caller |
VOID DispatchEventHiddenHookPageReadWriteExecExecutePostEvent | ( | VIRTUAL_MACHINE_STATE * | VCpu, |
PVOID | Context ) |
Handling debugger functions related to read & write & execute, execute events (post)
VCpu | The virtual processor's state |
Context | The context of the caller |
VOID DispatchEventHiddenHookPageReadWriteExecReadPostEvent | ( | VIRTUAL_MACHINE_STATE * | VCpu, |
PVOID | Context ) |
Handling debugger functions related to read & write & execute, read events (post)
VCpu | The virtual processor's state |
Context | The context of the caller |
BOOLEAN DispatchEventHiddenHookPageReadWriteExecuteExecutePreEvent | ( | VIRTUAL_MACHINE_STATE * | VCpu, |
PVOID | Context, | ||
BOOLEAN * | IsTriggeringPostEventAllowed ) |
Handling debugger functions related to read & write & execute, execute events (pre)
VCpu | The virtual processor's state |
Context | The context of the caller |
IsTriggeringPostEventAllowed |
BOOLEAN DispatchEventHiddenHookPageReadWriteExecuteReadPreEvent | ( | VIRTUAL_MACHINE_STATE * | VCpu, |
PVOID | Context, | ||
BOOLEAN * | IsTriggeringPostEventAllowed ) |
Handling debugger functions related to read & write & execute, read events (pre)
VCpu | The virtual processor's state |
Context | The context of the caller |
IsTriggeringPostEventAllowed |
BOOLEAN DispatchEventHiddenHookPageReadWriteExecuteWritePreEvent | ( | VIRTUAL_MACHINE_STATE * | VCpu, |
PVOID | Context, | ||
BOOLEAN * | IsTriggeringPostEventAllowed ) |
Handling debugger functions related to read & write & execute, write events (pre)
VCpu | The virtual processor's state |
Context | The context of the caller |
IsTriggeringPostEventAllowed | Is the caller required to trigger post event |
VOID DispatchEventHiddenHookPageReadWriteExecWritePostEvent | ( | VIRTUAL_MACHINE_STATE * | VCpu, |
PVOID | Context ) |
Handling debugger functions related to read & write & execute, write events (post)
VCpu | The virtual processor's state |
Context | The context of the caller |
VOID DispatchEventIO | ( | VIRTUAL_MACHINE_STATE * | VCpu | ) |
Handling debugger functions related to IO events.
VCpu | The virtual processor's state |
VOID DispatchEventMode | ( | VIRTUAL_MACHINE_STATE * | VCpu, |
DEBUGGER_EVENT_MODE_TYPE | TargetMode, | ||
BOOLEAN | HandleState ) |
Handling debugger functions related to user-mode/kernel-mode execution trap events.
VCpu | The virtual processor's state |
IsUserMode | Whether the execution event caused by a switch from kernel-to-user or otherwise user-to-kernel |
HandleState | whether the state should be handled by dispatcher or not |
VOID DispatchEventMov2DebugRegs | ( | VIRTUAL_MACHINE_STATE * | VCpu | ) |
Handling debugger functions related to MOV 2 DR events.
VCpu | The virtual processor's state |
VOID DispatchEventMovToCr3 | ( | VIRTUAL_MACHINE_STATE * | VCpu | ) |
Handling debugger functions related to mov 2 cr3 events.
VCpu | The virtual processor's state |
VOID DispatchEventMovToFromControlRegisters | ( | VIRTUAL_MACHINE_STATE * | VCpu | ) |
Handling debugger functions related to mov to/from CR events.
VCpu | The virtual processor's state |
VOID DispatchEventRdmsr | ( | VIRTUAL_MACHINE_STATE * | VCpu | ) |
Handling debugger functions related to RDMSR events.
VCpu | The virtual processor's state |
VOID DispatchEventRdpmc | ( | VIRTUAL_MACHINE_STATE * | VCpu | ) |
Handling debugger functions related to RDPMC events.
VCpu | The virtual processor's state |
VOID DispatchEventTsc | ( | VIRTUAL_MACHINE_STATE * | VCpu, |
BOOLEAN | IsRdtscp ) |
Handling debugger functions related to RDTSC/RDTSCP events.
VCpu | The virtual processor's state |
IsRdtscp | Is a RDTSCP or RDTSC |
VOID DispatchEventVmcall | ( | VIRTUAL_MACHINE_STATE * | VCpu | ) |
Handling debugger functions related to VMCALL events.
VCpu | The virtual processor's state |
VOID DispatchEventWrmsr | ( | VIRTUAL_MACHINE_STATE * | VCpu | ) |
Handling debugger functions related to WRMSR events.
VCpu | The virtual processor's state |