WebAssembly / WebAssembly/wabt
Demangle Rust symbol names in wasm-decompile
Open
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 8.1k
- Forks
- 827
- Avg merge
- 4d 6h
- Merged PRs (30d)
- 18
Description
For instance, ZN4hvif5shape5Shape5parse17ha264877da5eed17bE() should be something like hvif::shape::Shape::parse().
This issue is related to #1406, but specific to the symbols generated by rustc.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in the wasm-decompile symbol-rendering entry point and review related issue #1406 for existing demangling context. Use the Rust symbol example in this issue as the acceptance case: rustc-generated names should be shown as readable paths without the hash suffix.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, rust
- Domain
- devtools
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100