Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tools to operate and inspect .wasm file #3

Open
pi0 opened this issue Dec 27, 2023 · 2 comments
Open

Tools to operate and inspect .wasm file #3

pi0 opened this issue Dec 27, 2023 · 2 comments
Assignees

Comments

@pi0
Copy link
Member

pi0 commented Dec 27, 2023

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.

@pi0 pi0 self-assigned this Dec 27, 2023
@pi0 pi0 removed the tracker label Dec 27, 2023
@kazupon
Copy link

kazupon commented Jan 22, 2024

I recommend you would try the wasm tools.
you might find out something hints.
https://github.com/bytecodealliance/wasm-tools

@pi0
Copy link
Member Author

pi0 commented Jan 22, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants