Skip to content

Bail to interpreted mode on self-modified code #1575

Description

@donno2048

As mentioned in #1561, self-modified code that isn't being jumped into isn't being handled (for the same page it's being only logged and for other reachable pages where if we don't jump into it but rather read into it "sequentially" it's not being handled at all).

Should maybe just add a "was overwritten" flag to any block, and if the write was to a an address between instruction_pointer and the end of the current block bail, otherwise set the relevant block's flag, and whenever transitioning between blocks, bail if the flag is set..?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions