ghidra-wasm-plugin icon indicating copy to clipboard operation
ghidra-wasm-plugin copied to clipboard

Ghidra Wasm plugin with disassembly and decompilation support

Ghidra Wasm Plugin

Module to load WebAssembly files into Ghidra, supporting disassembly and decompilation.

Not Actively Maintained

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.

image

TODO:

  • [x] Debug intraprocedural control flow
  • [x] Parse type section
  • [x] Convert type definitions to Ghidra function signatures (skipped, might be better to just let the decompiler infer)
  • [x] Handle function call sites
  • [x] Table/ref instructions
  • [ ] br_table disassembly + decompilation