Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect help set emulate docstring #2126

Closed
disconnect3d opened this issue Apr 24, 2024 · 1 comment · Fixed by #2133
Closed

Incorrect help set emulate docstring #2126

disconnect3d opened this issue Apr 24, 2024 · 1 comment · Fixed by #2133
Labels

Comments

@disconnect3d
Copy link
Member

TL;DR the docstring here seems to be copied from vmmap configuration, so it has to be fixed:

pwndbg> help set emulate
Set Unicorn emulation of code near the current instruction.
emulate can be:
off             - read /proc/$qemu-pid/mem to parse kernel page tables to render vmmap
jumps-only      - use QEMU's `monitor info mem` to render vmmap
on              - disable vmmap rendering; useful if rendering is particularly slow

Note that the page-tables method will require the QEMU kernel process to be on the same machine and within the same PID namespace. Running QEMU kernel and GDB in different Docker containers will not work. Consider running both containers with --pid=host (meaning they will see and so be able to interact with all processes on the machine).

Code responsible for it:
https://github.com/pwndbg/pwndbg/blob/dev/pwndbg/disasm/arch.py#L21-L37

@disconnect3d
Copy link
Member Author

cc: @OBarronCS can you fix it? :)

disconnect3d added a commit that referenced this issue Apr 28, 2024
Fixes #2126 - updates the `emulate` config parameter description
disconnect3d added a commit that referenced this issue Apr 28, 2024
Fixes #2126 - updates the `emulate` config parameter description
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging a pull request may close this issue.

1 participant