WebAssembly / WebAssembly/wabt
wasm-decompile: expose NameOpts::None as arg
Open
Nobody has claimed this yet.
wasm-decompile
- Dominant language
- C++
- Stars
- 8.1k
- Forks
- 827
- Avg merge
- 4d 6h
- Merged PRs (30d)
- 18
Description
It's quite inconvenient to find functions by indexes right now, as they are transformed. Also might be nice to add a comment with index as wasm2wat does (;123;)
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 src/tools/wasm-decompile.cc around line 89 and inspect how NameOpts is selected for wasm-decompile. Determine how to expose NameOpts::None as an argument, then verify that functions can be located by their original indexes and assess the requested index comments against wasm2wat’s (;123;) style.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, wasm
- Domain
- compilers
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100