MCPcopy Create free account
hub / github.com/qilingframework/qiling / write

Method write

qiling/os/memory.py:383–391  ·  view source on GitHub ↗

Write bytes to a memory. Args: addr: destination address data: bytes to write

(self, addr: int, data: bytes)

Source from the content-addressed store, hash-verified

381 return _unpack(self.read(addr, size))
382
383 def write(self, addr: int, data: bytes) -> None:
384 """Write bytes to a memory.
385
386 Args:
387 addr: destination address
388 data: bytes to write
389 """
390
391 self.ql.uc.mem_write(addr, data)
392
393 def write_ptr(self, addr: int, value: int, size: int = 0, *, signed = False) -> None:
394 """Write an integer value to a memory address.

Callers 3

__write_stringMethod · 0.95
restoreMethod · 0.95
write_ptrMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected