pub fn fuzz_wasmparser_validate_all_feat(data: &[u8]) -> bool {
    use wasmparser::{Validator, WasmFeatures};

    let mut validator = Validator::new();
    validator.wasm_features(WasmFeatures {
        reference_types: true,
        multi_value: true,
        threads: true,
        simd: true,
        module_linking: true,
        tail_call: true,
        bulk_memory: true,
        deterministic_only: true,
        multi_memory: true,
        memory64: true,
    });

    // validate
    validator.validate_all(&data).is_ok()
}
/// Fuzzing `wasmparser::ValidatingParser` with all features enabled and loop to read all module.
Fuzzing `wasmparser::ValidatingParser` with all features enabled and loop to read all module.
Fuzzing ` wasmparser :: ValidatingParser ` with all features enabled and loop to read all module .
pub fn fuzz_wasmparser_validate_all_feat(data: &[u8]) -> bool {
    use wasmparser::{Validator, WasmFeatures};
    let mut validator = Validator::new();
    validator.wasm_features(WasmFeatures {
        reference_types: true,
        multi_value: true,
        threads: true,
        simd: true,
        module_linking: true,
        tail_call: true,
        bulk_memory: true,
        deterministic_only: true,
        multi_memory: true,
        memory64: true,
    });
    // validate
    validator.validate_all(&data).is_ok()
}
pub fn fuzz_wasmparser_validate_all_feat ( data : & [ u8 ] ) -> bool { use wasmparser :: { Validator , WasmFeatures } ; let mut validator = Validator :: new ( ) ; validator . wasm_features ( WasmFeatures { reference_types : true , multi_value : true , threads : true , simd : true , module_linking : true , tail_call : true , bulk_memory : true , deterministic_only : true , multi_memory : true , memory64 : true , } ) ; // validate validator . validate_all ( & data ) . is_ok ( ) }
Fuzzing `wasmparser::ValidatingParser` with all features enabled and loop to read all module.
Fuzzing ` wasmparser :: ValidatingParser ` with all features enabled and loop to read all module .
data
&[u8]
data
&[u8]