You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
pwndbg/docs/commands/disassemble/nearpc.md

1.2 KiB

nearpc

usage: nearpc [-h] [-r REVERSE] [-t TOTAL] [-e] [pc] [lines]

Disassemble near a specified address.

Aliases: pdisass, u

Positional arguments

Positional Argument Help
pc Address to disassemble near. If this is the only argument and the value provided is small enough, it is interpreted as lines instead.
lines Number of lines to disassemble.

Optional arguments

Short Long Help
-h --help show this help message and exit
-r --reverse Number of lines to show before the address.
-t --total Total number of lines to show. This results in dynamic number of forward instructions depending on how many cached instructions are used.
-e --emulate Whether to emulate instructions to find the next ones or just linearly disassemble.