mirror of https://github.com/pwndbg/pwndbg.git
Fix some issues about GDB < 9.x (#1333)
* Fix some issues for GDB < 9.x * GDB < 9.x doesn't have `gdb.lookup_static_symbol` * GDB < 9.x doesn't have `gdb.PARAM_ZUINTEGER_UNLIMITED` * Better error handling for the heap commands * Inform users to `set exception-* on` when they encounter some error during using some heap commands * Bug fix for heap region finding of `HeuristicHeap` * Before this commit, `get_heap_boundaries()` of `HeuristicHeap` will always return the page whose name is `[heap]`, this won't work for multithreaded cases and won't work if the heap region of the main thread is not `[heap]` (e.g., when using QEMU, sometimes the name of heap region is something like: `[anon_deadbeaf]`) * Fallback to `gdb.lookup_symbol` if we do not have `gdb.lookup_static_symbol`pull/1353/head
parent
3b56329acc
commit
41c407036a
Loading…
Reference in new issue