Skip to content

Backtrace: Display binary offset  #155

@kateinoigakukun

Description

@kateinoigakukun

We should provide a way to map a Pc to its binary offset in the source module level for a better understanding of where the program crashed. Additionaly we need this mapping for future debugging support as DWARF information don't know Pc.
For now, all single "trappable" VM instruction corresponds to a single Wasm-level instruction (no unified instructions nor pseudo trappable VM instruction), so a Pc (at trappable instruction) -> BinaryOffset is injective.

We need to figure out how to build an address map function efficiently.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions