Module to load WebAssembly files into Ghidra, supporting disassembly and decompilation.
Note: This plugin is no longer actively maintained. Please visit https://github.com/nneonneo/ghidra-wasm-plugin/ for a more updated version of this plugin :-)
This plugin borrows loader functionality from this repo: https://github.com/andr3colonel/ghidra_wasm
Currently able to disassemble and decompile simple modules, still needs some debugging and feature work to be production-ready.
TODO:
- Debug intraprocedural control flow
- Parse type section
- Convert type definitions to Ghidra function signatures (skipped, might be better to just let the decompiler infer)
- Handle function call sites
- Table/ref instructions
-
br_table
disassembly + decompilation