diff --git a/pwndbg/commands/pwngdb.py b/pwndbg/commands/pwngdb.py index 131b099..51b86f8 100644 --- a/pwndbg/commands/pwngdb.py +++ b/pwndbg/commands/pwngdb.py @@ -178,7 +178,7 @@ def magic(): print("\033[34m" + f + ":" + "\033[33m" +hex(pwngdb.getoff(f))) print("\033[00m========== variables ==========") for v in pwngdb.magic_variable: - addr = pwndbg.symbol.address(v) + addr = pwndbg.gdblib.symbol.address(v) if addr is None: print("\033[34m" + v + ":" + "\033[33m" + "not found") offset = addr - pwngdb.libcbase()