Skip to content

Memory hooks #16

@mrexodia

Description

@mrexodia
def hook_write(addr: int, size: int, data: bytes) -> Optional[bytes]
def hook_read(addr: int, size: int, data: bytes) -> Optional[bytes]

Returning None would abort the read/write with an exception, otherwise you can return data or a modified buffer to read/write.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions