WebAssembly / wabt

The WebAssembly Binary Toolkit
Apache License 2.0
6.78k stars 691 forks source link

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

Open python273 opened 1 day ago

python273 commented 1 day 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 1 day ago

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