WebAssembly / wabt

The WebAssembly Binary Toolkit
Apache License 2.0
6.91k stars 702 forks source link

wasm-decompile: expose NameOpts::None as arg #2477

Open python273 opened 2 months ago

python273 commented 2 months ago

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;)

https://github.com/WebAssembly/wabt/blob/790bc0472552d80671bdf99ba7652876c463d526/src/tools/wasm-decompile.cc#L89

sbc100 commented 2 months ago

wasm-decompile is sadly unmaintained right now. Any contributions would be most welcome.