scwuaptx / Pwngdb

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

adjust result of function "fmtarg" #33

Closed cmcm951102 closed 5 years ago

cmcm951102 commented 5 years ago

when you set breakpoint at "printf" and break, ESP actully point at the return address instead of first argument, so it's better that add the start address to make "fmtarg" more friendly to use