MCPcopy Create free account
hub / github.com/cel-rust/cel-rust / arbitrary

Method arbitrary

fuzz/fuzz_targets/value_binop.rs:31–36  ·  view source on GitHub ↗
(u: &mut arbitrary::Unstructured<'arbitrary>)

Source from the content-addressed store, hash-verified

29#[automatically_derived]
30impl<'arbitrary> arbitrary::Arbitrary<'arbitrary> for Input {
31 fn arbitrary(u: &mut arbitrary::Unstructured<'arbitrary>) -> arbitrary::Result<Self> {
32 let op = u.arbitrary::<BinOp>()?;
33 let lhs = arbitrary_value(u, 0)?;
34 let rhs = arbitrary_value(u, 0)?;
35 Ok(Self { op, lhs, rhs })
36 }
37}
38
39fn arbitrary_value(

Callers

nothing calls this directly

Calls 1

arbitrary_valueFunction · 0.85

Tested by

no test coverage detected