Read bytes from memory. Args: addr: source address size: amount of bytes to read Returns: bytes located at the specified address
(self, addr: int, size: int)
| 347 | self.map_mmio(lbound, size, handler, label) |
| 348 | |
| 349 | def read(self, addr: int, size: int) -> bytearray: |
| 350 | """Read bytes from memory. |
| 351 | |
| 352 | Args: |
| 353 | addr: source address |
| 354 | size: amount of bytes to read |
| 355 | |
| 356 | Returns: bytes located at the specified address |
| 357 | """ |
| 358 | |
| 359 | return self.ql.uc.mem_read(addr, size) |
| 360 | |
| 361 | def read_ptr(self, addr: int, size: int = 0, *, signed = False) -> int: |
| 362 | """Read an integer value from a memory address. |
no outgoing calls
no test coverage detected