MCPcopy Create free account
hub / github.com/Vector35/binaryninja-api / read_pointer

Method read_pointer

python/binaryview.py:4476–4481  ·  view source on GitHub ↗
(self, address: int, size: Optional[int] = None)

Source from the content-addressed store, hash-verified

4474 return TypedDataAccessor.int_from_bytes(data, size, sign, _endian)
4475
4476 def read_pointer(self, address: int, size: Optional[int] = None) -> int:
4477 if size is None:
4478 if self.arch is None:
4479 raise ValueError("Can't read pointer for BinaryView without an architecture")
4480 size = self.arch.address_size
4481 return self.read_int(address, size, False, self.endianness)
4482
4483 def read_uuid(self, address: int, ms_format: bool = True) -> uuid.UUID:
4484 """

Callers

nothing calls this directly

Calls 1

read_intMethod · 0.95

Tested by

no test coverage detected