diff --git a/pwndbg/lib/arch.py b/pwndbg/lib/arch.py index a9ab9ce98..09c2866f2 100644 --- a/pwndbg/lib/arch.py +++ b/pwndbg/lib/arch.py @@ -33,9 +33,3 @@ class Arch: def unpack(self, data: bytes) -> int: return struct.unpack(self.fmt, data)[0] - - def signed(self, integer: int) -> int: - return self.unpack(self.pack(integer), signed=True) # type: ignore - - def unsigned(self, integer: int) -> int: - return self.unpack(self.pack(integer))