Crate wasm_mutate

source ·
Expand description

A WebAssembly test case mutator.

wasm-mutate takes in an existing Wasm module and then applies a pseudo-random transformation to it, producing a new, mutated Wasm module. This new, mutated Wasm module can be fed as a test input to your Wasm parser, validator, compiler, or any other Wasm-consuming tool. wasm-mutate can serve as a custom mutator for mutation-based fuzzing.

Structs§

  • An error encountered when choosing or applying a Wasm mutation.
  • A WebAssembly test case mutator.

Enums§

Type Aliases§

  • A Result type that is either Ok(T) or Err(wasm_mutate::Error).