decompme / decomp.me

Collaborative decompilation and reverse engineering website
https://decomp.me
MIT License
348 stars 108 forks source link

Add WebAssembly decompilation support #1266

Open SkyfallWasTaken opened 1 month ago

SkyfallWasTaken commented 1 month ago

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:

Additional context N/A

bates64 commented 1 month ago

Main piece of engineering work here is WASM diffing

SkyfallWasTaken commented 1 month ago

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 commented 1 month ago

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 commented 3 weeks ago

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