cmd/go: decide where fuzz tooling should live #46311
Labels
FrozenDueToAge
fuzz
Issues related to native fuzzing support
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
There are a number of fuzz related tools which we'd like to add, a few examples from among the ideas:
Where should these tools live? One option which seems most obvious would be to keep them under
go tool
. Another possibility is not to keep them as separate binaries, but to implement their functionality as flags undergo test -fuzz
.Putting them under
go tool
has the benefit of keeping the fuzz testing and tooling code as self-contained as possible, but depending on how many tools we decide on building may begin to pollute thego tool
namespace. One other path we could consider is adding a singlego tool fuzz
tool with subcommands for specific functionality (i.e.go tool fuzz corpusconvert
etc).Putting them under
go test
keeps everything in one place, but since some of the functionality is disconnected from actually doing any fuzzing it risks overloading the meaning of the flags. Additionally it would mean adding even more functionality to the already complextesting
andinternal/fuzz
packages.The text was updated successfully, but these errors were encountered: