HyperDbg Debugger
|
Implementation of debugger functions for applying events. More...
#include "pch.h"
Functions | |
BOOLEAN | ApplyEventMonitorEvent (PDEBUGGER_EVENT Event, PDEBUGGER_EVENT_AND_ACTION_RESULT ResultsToReturn, BOOLEAN InputFromVmxRoot) |
Applying monitor memory hook events. | |
BOOLEAN | ApplyEventEptHookExecCcEvent (PDEBUGGER_EVENT Event, PDEBUGGER_EVENT_AND_ACTION_RESULT ResultsToReturn, BOOLEAN InputFromVmxRoot) |
Applying EPT hook execution (hidden breakpoints) events. | |
BOOLEAN | ApplyEventEpthookInlineEvent (PDEBUGGER_EVENT Event, PDEBUGGER_EVENT_AND_ACTION_RESULT ResultsToReturn, BOOLEAN InputFromVmxRoot) |
Applying EPT hook trampoline (inline hook) events. | |
VOID | ApplyEventRdmsrExecutionEvent (PDEBUGGER_EVENT Event, PDEBUGGER_EVENT_AND_ACTION_RESULT ResultsToReturn, BOOLEAN InputFromVmxRoot) |
Applying RDMSR execution events. | |
VOID | ApplyEventWrmsrExecutionEvent (PDEBUGGER_EVENT Event, PDEBUGGER_EVENT_AND_ACTION_RESULT ResultsToReturn, BOOLEAN InputFromVmxRoot) |
Applying WRMSR execution events. | |
VOID | ApplyEventInOutExecutionEvent (PDEBUGGER_EVENT Event, PDEBUGGER_EVENT_AND_ACTION_RESULT ResultsToReturn, BOOLEAN InputFromVmxRoot) |
Applying IN/OUT instructions execution events. | |
VOID | ApplyEventTscExecutionEvent (PDEBUGGER_EVENT Event, PDEBUGGER_EVENT_AND_ACTION_RESULT ResultsToReturn, BOOLEAN InputFromVmxRoot) |
Applying RDTSC/RDTSCP instructions execution events. | |
VOID | ApplyEventRdpmcExecutionEvent (PDEBUGGER_EVENT Event, PDEBUGGER_EVENT_AND_ACTION_RESULT ResultsToReturn, BOOLEAN InputFromVmxRoot) |
Applying RDPMC instruction execution events. | |
VOID | ApplyEventMov2DebugRegExecutionEvent (PDEBUGGER_EVENT Event, PDEBUGGER_EVENT_AND_ACTION_RESULT ResultsToReturn, BOOLEAN InputFromVmxRoot) |
Applying mov 2 debug registers events. | |
VOID | ApplyEventControlRegisterAccessedEvent (PDEBUGGER_EVENT Event, PDEBUGGER_EVENT_AND_ACTION_RESULT ResultsToReturn, BOOLEAN InputFromVmxRoot) |
Applying control registers accessed events. | |
VOID | ApplyEventExceptionEvent (PDEBUGGER_EVENT Event, PDEBUGGER_EVENT_AND_ACTION_RESULT ResultsToReturn, BOOLEAN InputFromVmxRoot) |
Applying exception events. | |
VOID | ApplyEventInterruptEvent (PDEBUGGER_EVENT Event, PDEBUGGER_EVENT_AND_ACTION_RESULT ResultsToReturn, BOOLEAN InputFromVmxRoot) |
Applying interrupt interception events. | |
VOID | ApplyEventEferSyscallHookEvent (PDEBUGGER_EVENT Event, PDEBUGGER_EVENT_AND_ACTION_RESULT ResultsToReturn, BOOLEAN InputFromVmxRoot) |
Applying EFER SYSCALL hook events. | |
VOID | ApplyEventEferSysretHookEvent (PDEBUGGER_EVENT Event, PDEBUGGER_EVENT_AND_ACTION_RESULT ResultsToReturn, BOOLEAN InputFromVmxRoot) |
Applying EFER SYSRET hook events. | |
VOID | ApplyEventVmcallExecutionEvent (PDEBUGGER_EVENT Event, PDEBUGGER_EVENT_AND_ACTION_RESULT ResultsToReturn, BOOLEAN InputFromVmxRoot) |
Applying VMCALL instruction execution events. | |
BOOLEAN | ApplyEventTrapModeChangeEvent (PDEBUGGER_EVENT Event, PDEBUGGER_EVENT_AND_ACTION_RESULT ResultsToReturn, BOOLEAN InputFromVmxRoot) |
Applying trap mode change events. | |
VOID | ApplyEventCpuidExecutionEvent (PDEBUGGER_EVENT Event, PDEBUGGER_EVENT_AND_ACTION_RESULT ResultsToReturn, BOOLEAN InputFromVmxRoot) |
Applying CPUID instruction execution events. | |
VOID | ApplyEventTracingEvent (PDEBUGGER_EVENT Event, PDEBUGGER_EVENT_AND_ACTION_RESULT ResultsToReturn, BOOLEAN InputFromVmxRoot) |
Applying trace events. | |
Implementation of debugger functions for applying events.
VOID ApplyEventControlRegisterAccessedEvent | ( | PDEBUGGER_EVENT | Event, |
PDEBUGGER_EVENT_AND_ACTION_RESULT | ResultsToReturn, | ||
BOOLEAN | InputFromVmxRoot ) |
Applying control registers accessed events.
Event | The created event object |
ResultsToReturn | Result buffer that should be returned to the user-mode |
InputFromVmxRoot | Whether the input comes from VMX root-mode or IOCTL |
VOID ApplyEventCpuidExecutionEvent | ( | PDEBUGGER_EVENT | Event, |
PDEBUGGER_EVENT_AND_ACTION_RESULT | ResultsToReturn, | ||
BOOLEAN | InputFromVmxRoot ) |
Applying CPUID instruction execution events.
Event | The created event object |
ResultsToReturn | Result buffer that should be returned to the user-mode |
InputFromVmxRoot | Whether the input comes from VMX root-mode or IOCTL |
VOID ApplyEventEferSyscallHookEvent | ( | PDEBUGGER_EVENT | Event, |
PDEBUGGER_EVENT_AND_ACTION_RESULT | ResultsToReturn, | ||
BOOLEAN | InputFromVmxRoot ) |
Applying EFER SYSCALL hook events.
Event | The created event object |
ResultsToReturn | Result buffer that should be returned to the user-mode |
InputFromVmxRoot | Whether the input comes from VMX root-mode or IOCTL |
VOID ApplyEventEferSysretHookEvent | ( | PDEBUGGER_EVENT | Event, |
PDEBUGGER_EVENT_AND_ACTION_RESULT | ResultsToReturn, | ||
BOOLEAN | InputFromVmxRoot ) |
Applying EFER SYSRET hook events.
Event | The created event object |
ResultsToReturn | Result buffer that should be returned to the user-mode |
InputFromVmxRoot | Whether the input comes from VMX root-mode or IOCTL |
BOOLEAN ApplyEventEptHookExecCcEvent | ( | PDEBUGGER_EVENT | Event, |
PDEBUGGER_EVENT_AND_ACTION_RESULT | ResultsToReturn, | ||
BOOLEAN | InputFromVmxRoot ) |
Applying EPT hook execution (hidden breakpoints) events.
Event | The created event object |
ResultsToReturn | Result buffer that should be returned to the user-mode |
InputFromVmxRoot | Whether the input comes from VMX root-mode or IOCTL |
BOOLEAN ApplyEventEpthookInlineEvent | ( | PDEBUGGER_EVENT | Event, |
PDEBUGGER_EVENT_AND_ACTION_RESULT | ResultsToReturn, | ||
BOOLEAN | InputFromVmxRoot ) |
Applying EPT hook trampoline (inline hook) events.
Event | The created event object |
ResultsToReturn | Result buffer that should be returned to the user-mode |
InputFromVmxRoot | Whether the input comes from VMX root-mode or IOCTL |
VOID ApplyEventExceptionEvent | ( | PDEBUGGER_EVENT | Event, |
PDEBUGGER_EVENT_AND_ACTION_RESULT | ResultsToReturn, | ||
BOOLEAN | InputFromVmxRoot ) |
Applying exception events.
Event | The created event object |
ResultsToReturn | Result buffer that should be returned to the user-mode |
InputFromVmxRoot | Whether the input comes from VMX root-mode or IOCTL |
VOID ApplyEventInOutExecutionEvent | ( | PDEBUGGER_EVENT | Event, |
PDEBUGGER_EVENT_AND_ACTION_RESULT | ResultsToReturn, | ||
BOOLEAN | InputFromVmxRoot ) |
Applying IN/OUT instructions execution events.
Event | The created event object |
ResultsToReturn | Result buffer that should be returned to the user-mode |
InputFromVmxRoot | Whether the input comes from VMX root-mode or IOCTL |
VOID ApplyEventInterruptEvent | ( | PDEBUGGER_EVENT | Event, |
PDEBUGGER_EVENT_AND_ACTION_RESULT | ResultsToReturn, | ||
BOOLEAN | InputFromVmxRoot ) |
Applying interrupt interception events.
Event | The created event object |
ResultsToReturn | Result buffer that should be returned to the user-mode |
InputFromVmxRoot | Whether the input comes from VMX root-mode or IOCTL |
BOOLEAN ApplyEventMonitorEvent | ( | PDEBUGGER_EVENT | Event, |
PDEBUGGER_EVENT_AND_ACTION_RESULT | ResultsToReturn, | ||
BOOLEAN | InputFromVmxRoot ) |
Applying monitor memory hook events.
Event | The created event object |
ResultsToReturn | Result buffer that should be returned to the user-mode |
InputFromVmxRoot | Whether the input comes from VMX root-mode or IOCTL |
VOID ApplyEventMov2DebugRegExecutionEvent | ( | PDEBUGGER_EVENT | Event, |
PDEBUGGER_EVENT_AND_ACTION_RESULT | ResultsToReturn, | ||
BOOLEAN | InputFromVmxRoot ) |
Applying mov 2 debug registers events.
Event | The created event object |
ResultsToReturn | Result buffer that should be returned to the user-mode |
InputFromVmxRoot | Whether the input comes from VMX root-mode or IOCTL |
VOID ApplyEventRdmsrExecutionEvent | ( | PDEBUGGER_EVENT | Event, |
PDEBUGGER_EVENT_AND_ACTION_RESULT | ResultsToReturn, | ||
BOOLEAN | InputFromVmxRoot ) |
Applying RDMSR execution events.
Event | The created event object |
ResultsToReturn | Result buffer that should be returned to the user-mode |
InputFromVmxRoot | Whether the input comes from VMX root-mode or IOCTL |
VOID ApplyEventRdpmcExecutionEvent | ( | PDEBUGGER_EVENT | Event, |
PDEBUGGER_EVENT_AND_ACTION_RESULT | ResultsToReturn, | ||
BOOLEAN | InputFromVmxRoot ) |
Applying RDPMC instruction execution events.
Event | The created event object |
ResultsToReturn | Result buffer that should be returned to the user-mode |
InputFromVmxRoot | Whether the input comes from VMX root-mode or IOCTL |
VOID ApplyEventTracingEvent | ( | PDEBUGGER_EVENT | Event, |
PDEBUGGER_EVENT_AND_ACTION_RESULT | ResultsToReturn, | ||
BOOLEAN | InputFromVmxRoot ) |
Applying trace events.
Event | The created event object |
ResultsToReturn | Result buffer that should be returned to the user-mode |
InputFromVmxRoot | Whether the input comes from VMX root-mode or IOCTL |
BOOLEAN ApplyEventTrapModeChangeEvent | ( | PDEBUGGER_EVENT | Event, |
PDEBUGGER_EVENT_AND_ACTION_RESULT | ResultsToReturn, | ||
BOOLEAN | InputFromVmxRoot ) |
Applying trap mode change events.
Event | The created event object |
ResultsToReturn | Result buffer that should be returned to the user-mode |
InputFromVmxRoot | Whether the input comes from VMX root-mode or IOCTL |
VOID ApplyEventTscExecutionEvent | ( | PDEBUGGER_EVENT | Event, |
PDEBUGGER_EVENT_AND_ACTION_RESULT | ResultsToReturn, | ||
BOOLEAN | InputFromVmxRoot ) |
Applying RDTSC/RDTSCP instructions execution events.
Event | The created event object |
ResultsToReturn | Result buffer that should be returned to the user-mode |
InputFromVmxRoot | Whether the input comes from VMX root-mode or IOCTL |
VOID ApplyEventVmcallExecutionEvent | ( | PDEBUGGER_EVENT | Event, |
PDEBUGGER_EVENT_AND_ACTION_RESULT | ResultsToReturn, | ||
BOOLEAN | InputFromVmxRoot ) |
Applying VMCALL instruction execution events.
Event | The created event object |
ResultsToReturn | Result buffer that should be returned to the user-mode |
InputFromVmxRoot | Whether the input comes from VMX root-mode or IOCTL |
VOID ApplyEventWrmsrExecutionEvent | ( | PDEBUGGER_EVENT | Event, |
PDEBUGGER_EVENT_AND_ACTION_RESULT | ResultsToReturn, | ||
BOOLEAN | InputFromVmxRoot ) |
Applying WRMSR execution events.
Event | The created event object |
ResultsToReturn | Result buffer that should be returned to the user-mode |
InputFromVmxRoot | Whether the input comes from VMX root-mode or IOCTL |