Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Attribute value of mem_access not writable #151

Open
arullier-cs opened this issue Oct 6, 2022 · 0 comments
Open

Attribute value of mem_access not writable #151

arullier-cs opened this issue Oct 6, 2022 · 0 comments

Comments

@arullier-cs
Copy link

arullier-cs commented Oct 6, 2022

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,

@Boyan-MILANOV Boyan-MILANOV changed the title Attribute mem_access not accessible from python bindings Attribute value of mem_access not writable Oct 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant