wasmtime_fuzzing/
generators.rs

1//! Test case generators.
2//!
3//! Test case generators take raw, unstructured input from a fuzzer
4//! (e.g. libFuzzer) and translate that into a structured test case (e.g. a
5//! valid Wasm binary).
6//!
7//! These are generally implementations of the `Arbitrary` trait, or some
8//! wrapper over an external tool, such that the wrapper implements the
9//! `Arbitrary` trait for the wrapped external tool.
10
11pub mod api;
12mod async_config;
13mod codegen_settings;
14pub mod component_types;
15mod config;
16mod instance_allocation_strategy;
17mod memory;
18mod module;
19mod pooling_config;
20mod single_inst_module;
21mod stacks;
22pub mod table_ops;
23mod value;
24mod wast_test;
25
26pub use async_config::AsyncConfig;
27pub use codegen_settings::CodegenSettings;
28pub use config::CompilerStrategy;
29pub use config::{Config, WasmtimeConfig};
30pub use instance_allocation_strategy::InstanceAllocationStrategy;
31pub use memory::{
32    HeapImage, MemoryAccesses, MemoryConfig, NormalMemoryConfig, UnalignedMemory,
33    UnalignedMemoryCreator,
34};
35pub use module::ModuleConfig;
36pub use pooling_config::PoolingAllocationConfig;
37pub use single_inst_module::SingleInstModule;
38pub use stacks::Stacks;
39pub use value::{DiffValue, DiffValueType};
40pub use wast_test::WastTest;