Expand description
WebAssembly decompiler — parse .wasm binaries and emit C-like pseudocode.
WASM is a stack-based VM, not a register machine, so we can’t use the SLEIGH pipeline. Instead, this module directly parses WASM bytecode and reconstructs expressions by simulating the value stack.
Structs§
- Wasm
Func - A discovered WASM function with its name, type, and body offset.
Functions§
- decompile_
wasm_ func - Decompile a single WASM function to C-like pseudocode.
- parse_
wasm - Parse a WASM binary and return the list of functions.