Expand description
Test case generators.
Test case generators take raw, unstructured input from a fuzzer (e.g. libFuzzer) and translate that into a structured test case (e.g. a valid Wasm binary).
These are generally implementations of the Arbitrary trait, or some
wrapper over an external tool, such that the wrapper implements the
Arbitrary trait for the wrapped external tool.
Re-exports§
pub use exception_ops::ExceptionOps;pub use gc_access::GcAccess;pub use gc_ops::limits::GcOpsLimits;pub use gc_ops::ops::GcOps;
Modules§
- api
- Generating sequences of Wasmtime API calls.
- exception_
ops - Generator for exception-handling fuzz test cases.
- gc_
access - Generate Wasm modules that exercise GC object creation, field access, and assertion patterns across different heap initialization states.
- gc_ops
- GC ops generator: split from the previous monolithic file.
Structs§
- Config
- Configuration for
wasmtime::Configand generated modules for a session of fuzzing. - Heap
Image - A memory heap image.
- Memory
Accesses - A description of a memory config, image, etc… that can be used to test memory accesses.
- Memory
Config - Represents a normal memory configuration for Wasmtime with the given static and dynamic memory sizes.
- Module
Config - Default module-level configuration for fuzzing Wasmtime.
- Pooling
Allocation Config - Configuration for
wasmtime::PoolingAllocationStrategy. - Single
Inst Module - Configure a single instruction module.
- Stacks
- Generate a Wasm module that keeps track of its current call stack, to compare to the host.
- Wasmtime
Config - Configuration related to
wasmtime::Configand the various settings which can be tweaked from within. - Wast
Test - A wast test from this repository.
Enums§
- Async
Config - Configuration for async support within a store.
- Codegen
Settings - Choose between matching the host architecture or a cross-compilation target.
- Compiler
Strategy - Compiler to use.
- Diff
Value - A value passed to and from evaluation. Note that reference types are not (yet) supported.
- Diff
Value Type - Enumerate the supported value types.
- Instance
Allocation Strategy - Configuration for
wasmtime::InstanceAllocationStrategy.