https://github.com/bmeurer/wasm-source-map
WebAssembly DWARF parser and location resolver for DevTools
https://github.com/bmeurer/wasm-source-map
Last synced: over 1 year ago
JSON representation
WebAssembly DWARF parser and location resolver for DevTools
- Host: GitHub
- URL: https://github.com/bmeurer/wasm-source-map
- Owner: bmeurer
- Created: 2019-12-23T07:45:44.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-12-23T10:24:06.000Z (over 6 years ago)
- Last Synced: 2025-01-22T21:32:10.116Z (over 1 year ago)
- Language: Rust
- Size: 12.7 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
- License: LICENSES.deps
Awesome Lists containing this project
README
This is a Rust library that is used to parse DWARF from WebAssembly
files and resolve source locations <-> addresses.
It's compiled to Wasm + JS bindings that are used by SDK.WasmSourceMap.
Currently the built artifacts are checked in to the repo to avoid
adding dependency on Rust toolchain for everyone working on the
DevTools frontend code.
To modify and recompile the library, you'll need:
1) Rust toolchain - install as per https://rustup.rs/.
2) Wasm-pack toolchain - install as per https://rustwasm.github.io/wasm-pack/.
3) Change code in `src/` folder.
4) Rebuild with `wasm-pack build --target no-modules`.