Sorry for polluting your bug tracker with a question.
This change doing an explicit T::arbitrary call inside of fuzz_target!(arg: &[u8] instead of just using fuzz_target!(arg: T seems to allow the fuzzer to try ~500x more valid inputs: https://github.com/oxigraph/oxigraph/pull/509
Is there a reason why fuzz_target!(arg: T could be way slower than fuzz_target!(arg: &[u8] { let arg = T::arbitrary(&mut Unstructured::new(data));?
Thank you so much for this amazing library!
Sorry for polluting your bug tracker with a question.
This change doing an explicit
T::arbitrary
call inside offuzz_target!(arg: &[u8]
instead of just usingfuzz_target!(arg: T
seems to allow the fuzzer to try ~500x more valid inputs: https://github.com/oxigraph/oxigraph/pull/509Is there a reason why
fuzz_target!(arg: T
could be way slower thanfuzz_target!(arg: &[u8] { let arg = T::arbitrary(&mut Unstructured::new(data));
?