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/emulate.md

27 lines
1.0 KiB
Markdown

<!-- THIS PART OF THIS FILE IS AUTOGENERATED. DO NOT MODIFY IT. See scripts/generate-docs.sh -->
# emulate
```text
usage: emulate [-h] [-r REVERSE] [-t TOTAL] [pc] [lines]
```
Like nearpc, but will emulate instructions from the current $PC forward.
### Positional arguments
|Positional Argument|Help|
| :--- | :--- |
|pc|Address to emulate near.|
|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.|
<!-- END OF AUTOGENERATED PART. Do not modify this line or the line below, they mark the end of the auto-generated part of the file. If you want to extend the documentation in a way which cannot easily be done by adding to the command help description, write below the following line. -->
<!-- ------------\>8---- ----\>8---- ----\>8------------ -->