remove .lower that we don't need

pull/1882/head
smiley 2 years ago committed by Disconnect3d
parent e1591adb82
commit 00f53a450e

@ -44,7 +44,7 @@ class module(ModuleType):
value.type.sizeof, pwndbg.gdblib.typeinfo.ulong
)
value = value.cast(size)
if attr.lower() == "pc" and pwndbg.gdblib.arch.current == "i8086":
if attr == "pc" and pwndbg.gdblib.arch.current == "i8086":
value += self.cs * 16
value = int(value)
return value & pwndbg.gdblib.arch.ptrmask

Loading…
Cancel
Save