From 3614014b307948bd231f9e8f2fe74f63c7ea9a66 Mon Sep 17 00:00:00 2001 From: Zach Riggle Date: Fri, 22 May 2015 21:15:33 -0400 Subject: [PATCH] Upper limit on symbol addresses --- pwndbg/symbol.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pwndbg/symbol.py b/pwndbg/symbol.py index 21578866f..e358e0a36 100644 --- a/pwndbg/symbol.py +++ b/pwndbg/symbol.py @@ -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