Crate walrus

source
Expand description

The walrus WebAssembly transformations library.

Re-exports§

Modules§

  • Utilities for emitting GraphViz dot files.
  • Intermediate representation for instructions.
  • Passes over whole modules or individual functions.

Structs§

  • Code transformation records, which is used to transform DWARF debug entries.
  • A data segment.
  • A passive segment which contains a list of functions
  • A named item exported from the wasm.
  • A wasm function.
  • Build instances of LocalFunction.
  • A wasm global.
  • Maps our high-level identifiers to the raw indices they end up emitted at.
  • A named item imported into the wasm.
  • An externally defined, imported function.
  • Maps from old indices in the original Wasm binary to walrus IDs.
  • A builder returned by instruction sequence-construction methods to build up instructions within a block/loop/if-else over time.
  • A function defined locally within the wasm module.
  • A memory in the wasm.
  • A wasm module.
  • Configuration for a Module which currently affects parsing.
  • A collection of custom sections inside a Wasm module.
  • All passive data sections of a wasm module, used to initialize memories via various instructions.
  • The DWARF debug section in input WebAssembly binary.
  • All element segments of a wasm module, used to initialize anyfunc tables, used as function pointers.
  • The set of exports in a module.
  • The set of functions within a module.
  • The set of globals in each function in this module.
  • The set of imports in a module.
  • The set of locals in each function in this module.
  • The set of memories in this module.
  • Representation of the wasm custom section producers
  • The set of tables in this module.
  • The set of de-duplicated types within a module.
  • A raw, unparsed custom section.
  • A table in the wasm.
  • A function type.
  • The id of a CustomSection instance with a statically-known type in a ModuleCustomSections.
  • The id of some CustomSection instance in a ModuleCustomSections.

Enums§

Traits§

Type Aliases§