Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
encoding/json: add sample fuzz test for prototype of "fuzzing as a first class citizen" #31309
That was done primarily to help with the exploration requested by the core Go team in discussion of the #19109 proposal to "make fuzzing a first class citizen" (in addition to other benefits).
The follow-up suggestion here is to add a
The starting point most likely should be the
This is a particularly interesting example given the
There would be no corpus checked in for now. (The approach to the corpus is being discussed elsewhere, e.g., #31215).
Two issues that likely would need to be resolved prior to merging into the standard library:
Happy to be corrected if any of the above is different than how people would like to proceed here.
Finally, @mvdan, I don't want to put you on the spot, but in other discussions you had expressed some interest in this. Are you still interested? And of course no worries if too busy with other things.
This sounds like a good idea, and I was planning on fuzzing the decoder before the 1.13 release in any case.
Sorry, could you clarify what part you want me to play here? I'm happy to help review and bounce ideas, for example.