hugsy / gef-extras

Extra goodies for GEF to (try to) make GDB suck even less
https://hugsy.github.io/gef-extras
MIT License
149 stars 50 forks source link

"vis_heap_chunks"-like display of heap like in pwndbg #30

Closed OevreFlataeker closed 3 years ago

OevreFlataeker commented 4 years ago

I am using pwndbg in addition to GEF and I really like the "vis_heap_chunks" feature of pwndbg to visualize the heap. (https://browserpwndbg.readthedocs.io/en/docs/commands/heap/vis_heap_chunks/)

The color printout with ASCII-art arrows that annotate the various heap chunks is very helpful in my opinion.

I'd love to see that kind of display in GEF as well :-D

Thanks for considering!

Kyle-Kyle commented 3 years ago

As a heavy heaper, I want this feature too😢

hugsy commented 3 years ago

Examples from @OevreFlataeker :

img img

hugsy commented 3 years ago

Done (by ba5fa24), looks like:

image

hugsy commented 3 years ago

Thanks @OevreFlataeker & @Kyle-Kyle for the suggestion.

Happy to take some insights/PRs, cheers!