Update typeinfo on stop

pull/22/head
Zach Riggle 10 years ago
parent df51364368
commit 32798791d7

@ -27,6 +27,7 @@ def is_pointer(value):
return type.code == gdb.TYPE_CODE_PTR
@pwndbg.events.start
@pwndbg.events.stop
def update():
module.char = gdb.lookup_type('char')
module.ulong = gdb.lookup_type('unsigned long')

Loading…
Cancel
Save