MCPcopy Create free account
hub / github.com/HexHive/NASS / read

Method read

tools/gef.py:10152–10154  ·  view source on GitHub ↗

Return a `length` long byte array with the copy of the process memory at `addr`.

(self, addr: int, length: int = 0x10)

Source from the content-addressed store, hash-verified

10150 gdb.selected_inferior().write_memory(address, buffer, length)
10151
10152 def read(self, addr: int, length: int = 0x10) -> bytes:
10153 """Return a `length` long byte array with the copy of the process memory at `addr`."""
10154 return gdb.selected_inferior().read_memory(addr, length).tobytes()
10155
10156 def read_integer(self, addr: int) -> int:
10157 """Return an integer read from memory."""

Callers 2

read_integerMethod · 0.95
read_cstringMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected