Automatically cast address to int to make other code clenaer

pull/39/head
Zach Riggle 10 years ago
parent e6411366bf
commit 0b860431a7

@ -38,6 +38,8 @@ def get(address, text = None):
text(str): Optional text to use in place of the address
in the return value string.
"""
address = int(address)
page = pwndbg.vmmap.find(int(address))
if page is None: color = NORMAL

Loading…
Cancel
Save