Skip to main content

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;
14mod config;
15pub mod exception_ops;
16pub mod gc_access;
17pub mod gc_ops;
18mod instance_allocation_strategy;
19mod memory;
20mod module;
21mod pooling_config;
22mod single_inst_module;
23mod stacks;
24mod value;
25mod wast_test;
26
27pub use async_config::AsyncConfig;
28pub use codegen_settings::CodegenSettings;
29pub use config::CompilerStrategy;
30pub use config::{Config, WasmtimeConfig};
31pub use exception_ops::ExceptionOps;
32pub use gc_access::GcAccess;
33pub use gc_ops::{limits::GcOpsLimits, ops::GcOps};
34pub use instance_allocation_strategy::InstanceAllocationStrategy;
35pub use memory::{HeapImage, MemoryAccesses, MemoryConfig};
36pub use module::ModuleConfig;
37pub use pooling_config::PoolingAllocationConfig;
38pub use single_inst_module::SingleInstModule;
39pub use stacks::Stacks;
40pub use value::{DiffValue, DiffValueType};
41pub use wast_test::WastTest;