maat
maat copied to clipboard
Attribute `value` of `mem_access` not writable
Hello,
Following the documentation and tutorial related to event, it seems that mem_access is not currently accessible for write fashion from Python bindings.
def mem_written_callback(m: MaatEngine):
print(f"Writing mem at {m.info.mem_access.addr}")
print(f"Current value {m.mem.read(m.info.mem_access.addr, m.info.mem_access.size)}"
print(f"New value {m.info.mem_access.value}")
m.info.mem_access.value = 0xdeadbeef # does not take count of size, just for the example.
As a result:
AttributeError: attribute 'value' of 'MemAccess' objects is not writable
Thanks you,