Skip to content

Rethink dbg_mem_access_fn #1208

Open
Open

Description

@syntactically

It seems like the existing behaviour is perhaps not quite correct, because now that the actual mappings for the snapshot/scratch region can easily change (and do on most snapshot restores!), dbg_mem_access_fn will end up pointing at the wrong memory. Furthermore, the snapshot code has a very similar (although slightly different) need to access memory, and it might be nice if we could factor out at least the logic for determining which memory (snapshot, scratch, mapped region) a given GVA maps to.

See also comments introduced here and here.

Activity

  1. syntactically commented on Feb 3, 2026

    @syntactically
    MemberAuthor

    @dblnz Would appreciate your thoughts on this :)

  2. added
    lifecycle/confirmedBug is verified or proposal seems reasonable
    area/APIRelated to the API or public interface
    and removed on Feb 25, 2026
  3. added this to the Upcoming milestone on Feb 25, 2026
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

    area/APIRelated to the API or public interfacelifecycle/confirmedBug is verified or proposal seems reasonable

    Type

    No type

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions