Fix random test regression

This commit is contained in:
Arusekk
2020-06-02 21:59:51 +02:00
parent 9b56b58f95
commit c4c11a37f8
+1 -1
View File
@@ -1871,7 +1871,7 @@ class ELF(ELFFile):
def unpack(self, address, *a, **kw):
"""Unpacks an integer from the specified ``address``."""
self._update_args(kw)
return packing.unpack(self.read(address, context.bytes), *a, **kw)
return packing.unpack(self.read(address, self.bytes), *a, **kw)
def string(self, address):
"""string(address) -> str