mirror of https://github.com/pwndbg/pwndbg.git
Enhance remote QEMU targets debugging experience (#603)
* Enhance remote QEMU targets debugging experience - improve vmmap command help and inform user that the result might not be accurate for QEMU targets - updating stack pages (`pwndbg.stack.stacks`): skip detecting stack pages if SP is 0 (this lead to displaying memory page that started at -0x1000) - `pwndbg.vmmap.find` - don't skip addresses below `pwndbg.memory.MMAP_MIN_ADDR` - this function is used by `pwndbg.color.memory.get` which is used by `vmmap` command - because we skipped addresses - a memory page starting below that address wasn't colored on `vmmap` display - memory pages found with exploration will now display with `<explored>` name in `vmmap` - skip `proc_pid_maps` for QEMU kernel targets too (this was bug-prone as QEMU targets have 42000 pid returned by GDB and we potentially tried adding memory pages from another process, which luckily usually wasn't there) * Update pwndbg/vmmap.pypull/606/head
parent
0f4e31e72a
commit
09e1b37c8a
Loading…
Reference in new issue