Expand description
WASM Binary Decoder - Converts wasmparser operators to WasmOp sequences
This module bridges the gap between parsed WASM binaries and any backend. It extracts function bodies and converts wasmparser operators to our internal WasmOp format.
Structs§
- Decoded
Module - Decoded WASM module with functions and memory
- Function
Ops - Decoded function with its WasmOp sequence
- Import
Entry - A WASM import entry with full metadata
- Wasm
Memory - WASM linear memory specification
Enums§
- Import
Kind - Kind of a WASM import
Functions§
- decode_
wasm_ functions - Decode a WASM binary and extract all function bodies as WasmOp sequences
- decode_
wasm_ module - Decode a WASM binary and extract functions, memory, and data segments