3 ms·
Thank you! One more question please - does this tool support naming of global variables? The official wasm documented 'name' section only supports local variab
by 6nf 6y ago
Thank you!
One more question please - does this tool support naming of global variables? The official wasm documented 'name' section only supports local variable names I think?
- Aardappel 6y agoIt can pick names from the name section, linking section, or import/export name, in that order of preference (see https://github.com/WebAssembly/wabt/blob/master/docs/decompiler.md https://github.com/WebAssembly/wabt/blob/master/docs/decompi...). In the case of globals, the only way to name a global is thus if its imported or exported.