scwuaptx / Pwngdb

gdb for pwn
GNU General Public License v3.0
881 stars 123 forks source link

align heapbase #44

Closed shift-crops closed 4 years ago

shift-crops commented 4 years ago

Fixed a bug that the heapbase of thread was not calculated correctly when the size of malloc_state is not a multiple of 0x10 bytes.

gdb-peda$ p sizeof(struct malloc_state)
$1 = 0x898
scwuaptx commented 4 years ago

Thanks for your PR :)