From 3e3510c6d3d551cc17db954841c7ca293673084b Mon Sep 17 00:00:00 2001 From: Zach Riggle Date: Mon, 28 Dec 2015 18:13:04 -0800 Subject: [PATCH] Fix IDA base address --- pwndbg/ida.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pwndbg/ida.py b/pwndbg/ida.py index 7bb22b297..27462ec60 100644 --- a/pwndbg/ida.py +++ b/pwndbg/ida.py @@ -89,6 +89,7 @@ def base(): result = _ida.NextSeg(0) & ~(0xfff) if result < 0x100000: return 0 + return result @withIDA @takes_address