Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
bytecodealliance
GitHub Repository: bytecodealliance/wasmtime
Path: blob/main/crates/fuzzing/src/generators.rs
1693 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_types;
15
mod config;
16
mod instance_allocation_strategy;
17
mod memory;
18
mod module;
19
mod pooling_config;
20
mod single_inst_module;
21
mod stacks;
22
pub mod table_ops;
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 instance_allocation_strategy::InstanceAllocationStrategy;
31
pub use memory::{HeapImage, MemoryAccesses, MemoryConfig};
32
pub use module::ModuleConfig;
33
pub use pooling_config::PoolingAllocationConfig;
34
pub use single_inst_module::SingleInstModule;
35
pub use stacks::Stacks;
36
pub use value::{DiffValue, DiffValueType};
37
pub use wast_test::WastTest;
38
39