webassembly-dwarf icon indicating copy to clipboard operation
webassembly-dwarf copied to clipboard

Findings to help in understading DWARF sections stored in the WebAssembly binaries.

Results 5 webassembly-dwarf issues
Sort by recently updated
recently updated
newest added

The current DWARF for WebAssembly spec requires that instruction addresses are offsets into the Code Section. However, (extended) constant expressions contain instructions that are executed at runtime (and can contain...

In DWARF v5, values on the DWARF expression stack are typed (see 2.5.1 of [DWARF]). Most of the time the types are implicit and defined by the operation and its...

I think the return types are under-specified in the case that a WASM `func` returns more than one value (this is part of spec v1.1). Let's assume we want to...

Extend `DW_OP_Wasm_location` to point variables (e.g. `DW_TAG_variable`) to proper memory. The `DW_AT_segment` has type of "exprloc", so we can use `DW_OP_Wasm_location` or other vendor tag to point to right memory,...