Path: blob/main/crates/fuzzing/src/generators.rs
1693 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_types;14mod config;15mod instance_allocation_strategy;16mod memory;17mod module;18mod pooling_config;19mod single_inst_module;20mod stacks;21pub mod table_ops;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 instance_allocation_strategy::InstanceAllocationStrategy;30pub use memory::{HeapImage, MemoryAccesses, MemoryConfig};31pub use module::ModuleConfig;32pub use pooling_config::PoolingAllocationConfig;33pub use single_inst_module::SingleInstModule;34pub use stacks::Stacks;35pub use value::{DiffValue, DiffValueType};36pub use wast_test::WastTest;373839