|
HyperDbg Debugger
|
Implementation of Debugger Commands (Extensions). More...
#include "pch.h"Implementation of Debugger Commands (Extensions).
Debugger Commands that start with "!"
| VOID ExtensionCommandChangeAllMsrBitmapReadAllCores | ( | UINT64 | BitmapMask | ) |
routines for !msrread command which
causes vm-exit on all msr reads
| BitmapMask | Bit mask of msr to put on msr bitmap |
| VOID ExtensionCommandChangeAllMsrBitmapWriteAllCores | ( | UINT64 | BitmapMask | ) |
routines for !msrwrite command which
causes vm-exit on all msr writes
| VOID ExtensionCommandDisableMov2ControlRegsExitingForClearingEventsAllCores | ( | PDEBUGGER_EVENT | Event | ) |
routines ONLY for disabling !crwrite command
| Event |
| VOID ExtensionCommandDisableMov2DebugRegsExitingForClearingEventsAllCores | ( | ) |
routines ONLY for disabling !dr command
| VOID ExtensionCommandDisableMovDebugRegistersExitingAllCores | ( | ) |
routines for disabling !dr
| VOID ExtensionCommandDisableMovToControlRegistersExitingAllCores | ( | PDEBUGGER_EVENT | Event | ) |
routines for disabling !crwrite
| Event |
| VOID ExtensionCommandDisableRdpmcExitingAllCores | ( | ) |
routines for disabling !pmc
| VOID ExtensionCommandDisableRdtscExitingAllCores | ( | ) |
routines for disabling rdtsc/p exiting
| VOID ExtensionCommandDisableRdtscExitingForClearingEventsAllCores | ( | ) |
routines ONLY for disabling !tsc command
| VOID ExtensionCommandEnableMovControlRegisterExitingAllCores | ( | PDEBUGGER_EVENT | Event | ) |
routines for !crwrite
causes vm-exit on all accesses to debug registers
| Event |
| VOID ExtensionCommandEnableMovDebugRegistersExitingAllCores | ( | ) |
routines for !dr
causes vm-exit on all accesses to debug registers
| VOID ExtensionCommandEnableRdpmcExitingAllCores | ( | ) |
routines for !pmc
causes vm-exit on all execution of rdpmc
| VOID ExtensionCommandEnableRdtscExitingAllCores | ( | ) |
routines for !tsc command
causes vm-exit on all execution of rdtsc/rdtscp
| VOID ExtensionCommandIoBitmapChangeAllCores | ( | UINT64 | Port | ) |
routines for !ioin and !ioout command which
causes vm-exit on all i/o instructions or one port
| VOID ExtensionCommandIoBitmapResetAllCores | ( | ) |
routines for reset !ioin and !ioout command
| VOID ExtensionCommandPcidevinfo | ( | PDEBUGGEE_PCIDEVINFO_REQUEST_RESPONSE_PACKET | PcidevinfoPacket, |
| BOOLEAN | OperateOnVmxRoot ) |
Request PCI device info.
| PcidevinfoPacket | |
| OperateOnVmxRoot |
| VOID ExtensionCommandPcitree | ( | PDEBUGGEE_PCITREE_REQUEST_RESPONSE_PACKET | PcitreePacket, |
| BOOLEAN | OperateOnVmxRoot ) |
routines for PCIe tree
| PcitreePacket | |
| OperateOnVmxRoot |
| UINT32 ExtensionCommandPerformActionsForApicRequests | ( | PDEBUGGER_APIC_REQUEST | ApicRequest | ) |
Perform actions regarding APIC.
| ApicRequest |
| VOID ExtensionCommandPerformQueryIdtEntriesRequest | ( | PINTERRUPT_DESCRIPTOR_TABLE_ENTRIES_PACKETS | IdtQueryRequest, |
| BOOLEAN | ReadFromVmxRoot ) |
Perform query for IDT entries.
| IdtQueryRequest | |
| ReadFromVmxRoot |
| BOOLEAN ExtensionCommandPte | ( | PDEBUGGER_READ_PAGE_TABLE_ENTRIES_DETAILS | PteDetails, |
| BOOLEAN | IsOperatingInVmxRoot ) |
routines for !pte command
| PteDetails | |
| IsOperatingInVmxRoot |
| VOID ExtensionCommandResetAllMsrBitmapWriteAllCores | ( | ) |
routines for reset !msrwrite command which
| VOID ExtensionCommandResetChangeAllMsrBitmapReadAllCores | ( | ) |
routines for disable (reset) !msrread command
| VOID ExtensionCommandResetExceptionBitmapAllCores | ( | ) |
routines for reset !exception command
| VOID ExtensionCommandSetExceptionBitmapAllCores | ( | UINT64 | ExceptionIndex | ) |
routines for !exception command which
causes vm-exit when exception occurred
| ExceptionIndex | index of exception on IDT |
| VOID ExtensionCommandSetExternalInterruptExitingAllCores | ( | ) |
routines for !interrupt command which
causes vm-exit when external interrupt occurs
| VOID ExtensionCommandUnsetExceptionBitmapAllCores | ( | UINT64 | ExceptionIndex | ) |
routines for disabling exception bitmap
removes vm-exit when exception occurred
| ExceptionIndex | index of exception on IDT |
| VOID ExtensionCommandUnsetExternalInterruptExitingOnlyOnClearingInterruptEventsAllCores | ( | ) |
routines for ONLY terminate !interrupt command
| VOID ExtensionCommandVa2paAndPa2va | ( | PDEBUGGER_VA2PA_AND_PA2VA_COMMANDS | AddressDetails, |
| BOOLEAN | OperateOnVmxRoot ) |
routines for !va2pa and !pa2va commands
| AddressDetails | |
| OperateOnVmxRoot |