alexcrichton opened PR #4668 from smaller-component-type-fuzzing
to main
:
For now
wasmparser
has a hard limit on the size of tuples and such at
1000 recursive types within the tuple itself. Respect this limit by
limiting the width of recursive types generated for thecomponent_api
fuzzer. This commit unifies this new requirement with the preexisting
TupleArray
andNonEmptyArray
types into oneVecInRange<T, L, H>
which allow expressing all of these various requirements in one type.
jameysharp submitted PR review.
jameysharp submitted PR review.
jameysharp created PR review comment:
I think this is exactly what
Unstructured::arbitrary_loop
is meant for:input.arbitrary_loop(Some(L), Some(H), |input| { ret.push(input.arbitrary()?); Ok(std::ops::ControlFlow::Continue(())) });
alexcrichton updated PR #4668 from smaller-component-type-fuzzing
to main
.
alexcrichton has enabled auto merge for PR #4668.
alexcrichton merged PR #4668.
Last updated: Nov 22 2024 at 16:03 UTC