Path: blob/main/crates/fuzzing/src/generators.rs
3068 views
//! Test case generators.1//!2//! Test case generators take raw, unstructured input from a fuzzer3//! (e.g. libFuzzer) and translate that into a structured test case (e.g. a4//! valid Wasm binary).5//!6//! These are generally implementations of the `Arbitrary` trait, or some7//! wrapper over an external tool, such that the wrapper implements the8//! `Arbitrary` trait for the wrapped external tool.910pub mod api;11mod async_config;12mod codegen_settings;13pub mod component_async;14mod config;15pub mod gc_ops;16mod instance_allocation_strategy;17mod memory;18mod module;19mod pooling_config;20mod single_inst_module;21mod stacks;22mod value;23mod wast_test;2425pub use async_config::AsyncConfig;26pub use codegen_settings::CodegenSettings;27pub use config::CompilerStrategy;28pub use config::{Config, WasmtimeConfig};29pub use gc_ops::{limits::GcOpsLimits, ops::GcOps};30pub use instance_allocation_strategy::InstanceAllocationStrategy;31pub use memory::{HeapImage, MemoryAccesses, MemoryConfig};32pub use module::ModuleConfig;33pub use pooling_config::PoolingAllocationConfig;34pub use single_inst_module::SingleInstModule;35pub use stacks::Stacks;36pub use value::{DiffValue, DiffValueType};37pub use wast_test::WastTest;383940