From 3e34ddd38e093b879a9b4980b16067522a02899f Mon Sep 17 00:00:00 2001 From: Gulshan Singh Date: Tue, 10 Jan 2023 16:59:19 -0800 Subject: [PATCH] Remove Arch.signed and Arch.unsigned (#1516) --- pwndbg/lib/arch.py | 6 ------ 1 file changed, 6 deletions(-) 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))