Open unseddd opened 3 years ago
:sob:
I need to take a look at arbitrary a bit more, but :+1: on the idea.
:sob:
That is intense... :sweat_smile:
I'm new to the Arbitrary
trait, too. Ran across it when refactoring fuzzer code. Apparently, structure-aware fuzzing is the way to go. Not sure why they do trait impls over so many generic types, maybe usability for derive
macro? First time seeing something like that.
Implementing the Arbitrary trait allows libFuzzer to work faster, and simplifies fuzz driver code.
Implementations are conditionally compiled, so non-fuzz builds aren't affected.
Commitment
andRangeProof
implement Arbitrary for use in maingrin
repo.