m3wsec / ghidra-wasm-plugin

Ghidra Wasm plugin with disassembly and decompilation support

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

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

About

Ghidra Wasm plugin with disassembly and decompilation support

License:GNU General Public License v3.0


Languages

Language:Java 93.3%Language:CSS 2.9%Language:OCaml 1.5%Language:Python 1.3%Language:HTML 1.0%