Tools to operate and inspect `.wasm` file
I am mainly thinking of introducing mini utils to inspect .wasm binaries for commonly useful features. One particular useful usage would be scanning exports for plugins (#2) and also detecting global imports.
It can be also exported as a CLI script and also utils.
Ideas welcome for util useful tools.
I recommend you would try the wasm tools. you might find out something hints. https://github.com/bytecodealliance/wasm-tools
Thanks dear @kazupon yes i am aware of this project. The goals of this tracker is to most importantly expose a nice JS API to inspect and work with .wasm format. For now we use wasm-parser that is excellent and pure JS. In the future for performance and more upstream compatibility, we might migrate to use wasm build of wasm-tools and expose bindings around it.