Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
bytecodealliance
GitHub Repository: bytecodealliance/wasmtime
Path: blob/main/crates/fuzzing/src/generators.rs
3068 views
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
11
pub mod api;
12
mod async_config;
13
mod codegen_settings;
14
pub mod component_async;
15
mod config;
16
pub mod gc_ops;
17
mod instance_allocation_strategy;
18
mod memory;
19
mod module;
20
mod pooling_config;
21
mod single_inst_module;
22
mod stacks;
23
mod value;
24
mod wast_test;
25
26
pub use async_config::AsyncConfig;
27
pub use codegen_settings::CodegenSettings;
28
pub use config::CompilerStrategy;
29
pub use config::{Config, WasmtimeConfig};
30
pub use gc_ops::{limits::GcOpsLimits, ops::GcOps};
31
pub use instance_allocation_strategy::InstanceAllocationStrategy;
32
pub use memory::{HeapImage, MemoryAccesses, MemoryConfig};
33
pub use module::ModuleConfig;
34
pub use pooling_config::PoolingAllocationConfig;
35
pub use single_inst_module::SingleInstModule;
36
pub use stacks::Stacks;
37
pub use value::{DiffValue, DiffValueType};
38
pub use wast_test::WastTest;
39
40