Go fuzzing complex types recommendations

77 views
Skip to first unread message

josvazg

unread,
Oct 22, 2024, 8:19:57 AM10/22/24
to golang-nuts
Fell free to redirect me if this was already replied somewhere else.

Go language fuzzing only supports primitive types. On the other hand, the recently archived project github.com/google/gofuzz allows to fuzz complex data types, such as structs. That project even allowed to integrate with dvyukov/go-fuzz by using a fuzzed random byte array as seed, which I believe can be translated to be done similarly with Go native fuzzing.

So the questions are:
- Why was github.com/google/gofuzz archived in the first place? Are there a better alternatives?
- Is the core Go language fuzz support expected to cover complex types at some point?
- Or maybe are there already a 3rd party libraries recommended to cover that which integrate nicely with go native fuzzing support?

Thanks,

Jose
Reply all
Reply to author
Forward
0 new messages