Upper limit on symbol addresses

pull/14/head
Zach Riggle 11 years ago
parent 2b74c8d5f0
commit 3614014b30

@ -24,7 +24,7 @@ def get(address, gdb_only=False):
Retrieve the textual name for a symbol
"""
# Fast path
if address < pwndbg.memory.MMAP_MIN_ADDR:
if address < pwndbg.memory.MMAP_MIN_ADDR or address >= (1 << 64):
return ''
# Don't look up stack addresses

Loading…
Cancel
Save