Package: wnpp
Severity: wishlist
Owner: Leonardo Arias Fonseca <ag...@riseup.net>
* Package name : golang-github-trailofbits-go-fuzz-utils
Version : 0.0~git20240830.474de70-1
Upstream Author : Trail of Bits
* URL : https://github.com/trailofbits/go-fuzz-utils
* License : TODO
Programming Lang: Go
Description : helper package for use with go-fuzz or other
fuzzing utilities
Provides a simple interface to produce random values for various data
types and can recursively populate complex structures from raw fuzz data
generated by go-fuzz. Spend more time writing property tests, and less
time with ugly data type conversions, edge cases supporting full value
ranges, nil cases, etc. Simply feed go-fuzz data into go-fuzz-utils to
produce fuzzed objects and use them in your property tests as needed.
.
When populating variables, you can configure a number of parameters:
.
* Minimum/maximum sizes of strings, maps, slices
* Probability of nil for maps, slices, pointers
* Depth limit for nested structures
* Toggle for filling unexported fields in structures
* Probability of skipping a field when filling (to randomly fuzz over
valid structure fields)
I want to package this library to unblock mev-boost, ITP bug #1107167.