/ghidra-wasm-plugin

Ghidra Wasm plugin with disassembly and decompilation support

Primary LanguageJavaGNU General Public License v3.0GPL-3.0

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:

  • 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