mirror of https://github.com/pwndbg/pwndbg.git
vmmap: add QEMU kernel support (#685)
* vmmap: add QEMU kernel support This feature uses GDB's `monitor info mem` to fetch memory pages for QEMU in kernel mode. However, at least on QEMU 3.0.0 on `qemu-system-x86_64` the `monitor info mem` command returns memory pages without the `executable` permission bit, so for now we assume that all pages are executable. The `monitor info mem` works only in QEMU kernel mode and in QEMU-user it does: ``` (gdb) monitor info mem Target does not support this command. ``` * Update vmmap command docs * Use monitor_info_mem only on X86/X64 * monitor_info_mem: fix comment about executable perm * Update vmmap helppull/687/head
parent
57cc3c2f14
commit
ccc597d49a
Loading…
Reference in new issue