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

Add WebAssembly decompilation support #1266

Open
SkyfallWasTaken opened this issue Jun 1, 2024 · 4 comments
Open

Add WebAssembly decompilation support #1266

SkyfallWasTaken opened this issue Jun 1, 2024 · 4 comments

Comments

@SkyfallWasTaken
Copy link

Is your feature request related to a problem? Please describe.
It's annoying to have to use, for example, the wasm-decompile CLI to decompile a WebAssembly file. Adding support to decomp.me would make that a lot easier :)

Describe the solution you'd like
For WebAssembly to be added as a supported platform on https://decomp.me/new

Describe alternatives you've considered
Adding a different decompiler, such as:

  • wasm-objdump WASM into an assembly-like format
  • wasm2wat converts WASM into WAT (WASM as a text format)

Additional context
N/A

@bates64
Copy link
Member

bates64 commented Jun 1, 2024

Main piece of engineering work here is WASM diffing

@SkyfallWasTaken
Copy link
Author

I also noticed that the site also attempts to recompile the decompiler's output. However, that would only work w/ wasm2wat, since wasm-decompile's output can't be compiled back into WASM

@mkst
Copy link
Collaborator

mkst commented Jun 3, 2024

Are there any (offline) projects that are a matching decompilation of wasm? The purpose of decomp.me is to foster collaboration around matching decompilation - you also are meant to feed in the disassembly (i.e. assemble-able assembly code) as the starting point for your scratch.

@SkyfallWasTaken
Copy link
Author

SkyfallWasTaken commented Jun 7, 2024

wasm2wat output can be recompiled to wasm, if that's what you're asking for

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

3 participants