test (test functionalities)

Description of the 'test' command in HyperDbg.

Command

test

Syntax

test [Task (string)]

Description

Tests the functionalities of HyperDbg in the running system.

Parameters

[Task (string)]

Different options are used mostly for debugging the internal mechanisms of HyperDbg.

Option
Description

query

Shows the state of each core (e.g., halted or not)

pool

Shows the state of memory pool allocation and pre-allocation

breakpoint

Turns the interception of breakpoints (#BP) ON/OFF.

trap

Turns the interception of debug breaks (#DB) ON/OFF.

trap-status

Shows the state of simultaneously debugging threads that HyperDbg sets the trap flag on them

Examples

The following command shows how to check all the test-cases.

The following command shows the 'lock' state of each core.

The following command shows the state of pool allocation.

The following command is used to turn OFF/ON the breakpoint (#BP) interception.

The following command is used to turn OFF/ON the debug break (#DB) interception.

The following command shows the state of simultaneously debugging threads that HyperDbg sets the trap flag on them.

IOCTL

None

Remarks

Each time the connection to the debugger is restarted, the breakpoint interception and debug break interception are activated.

Requirements

None

None

Last updated