google / gofuzz

Fuzz testing for go.
Apache License 2.0
1.5k stars 119 forks source link

Add AllowUnsupportedFields to ignore interface/etc fields and not panic #68

Open tzachshabtay opened 1 year ago

tzachshabtay commented 1 year ago

Description

This adds a new property to the fuzzer: AllowUnsupportedFields. If used, when the fuzzer sees an unsupported field (like an interface, func or a channel) it will ignore it instead of panic. This resolves #27