p (step-over)
Description of the 'p' command in HyperDbg.
Command
p
pr
Syntax
p
p [Count (hex)]
pr
pr [Count (hex)]
Description
Executes a single instruction (step-over) and optionally displays the resulting values of all registers and flags.
Parameters
[Count (hex)] (optional)
Count of step(s), or how many times perform the stepping operation. If you don't set this argument, then by default, the Count is 1
.
Examples
If you want to step-over one instruction.
If you want to step-over one instruction and view the registers.
If you want to step-over for 5
instructions.
SDK
To step-over the instruction, you need to use the following function in libhyperdbg
:
Remarks
This command will set a trap flag in debuggee and continue all the cores. After executing one instruction, it halts the debuggee again.
If the target instruction is a call instruction, it configures the first hardware debug register breakpoint to the instruction after that call. After that, it continues the debuggee and waits for the call to be returned and the next instruction (after the call) to be executed.
All cores and threads (except the currently executing thread) find a chance to be executed between each step in this type of stepping.
If you load symbols and you don't want to see function names, you turn addressconversion off in the 'settings' command.
Requirements
None
Related
Last updated