pwndbg / pwndbg

Exploit Development and Reverse Engineering with GDB Made Easy
https://pwndbg.re/
MIT License
7.34k stars 872 forks source link

Remove or document MemoryAllocator.breakpoint #2404

Closed disconnect3d closed 1 day ago

disconnect3d commented 2 weeks ago

https://github.com/pwndbg/pwndbg/blob/26ba400dbdeafa09fce1f77fb93d9940d7db00ba/pwndbg/gdblib/heap/heap.py#L11-L20

As in https://github.com/pwndbg/pwndbg/pull/2382#discussion_r1733653835 : is it sth we need? Seems like sth to be removed.

cc: @CptGibbon

CptGibbon commented 2 weeks ago

Not sure about the origin of this, I assume someone wanted an easy way to breakpoint common memory allocator operations 🤷‍♂️

disconnect3d commented 1 week ago

Let's just remove this. PRs welcome if someone wants to help :)

disconnect3d commented 1 day ago

Done in https://github.com/pwndbg/pwndbg/pull/2433 ; the class can be further refactored in the future