testing: "unknown encoding version" error / provide documentation on the fuzz input file format #49299
Labels
Documentation
Issues describing a change to documentation.
FrozenDueToAge
fuzz
Issues related to native fuzzing support
NeedsFix
The path to resolution is known, but the work has not been done.
Milestone
I'm trying to seed inputs to the fuzzer by adding files to
testdata/fuzz
, per the documentation.Here is my test file (for package github.com/kevinburke/ssh_config):
Per the documentation, I tried copying existing files in
testdata/config1
andtestdata/config2
totestdata/fuzz/Decode
. This failed because I should have put them intestdata/fuzz/FuzzDecode
but that (repetition of the word "fuzz") wasn't obvious to me from the docs.I then tried running the fuzzer on Go tip (629ffeb) and got:
I'm not sure how to resolve that. The docs that I saw (the blog post and in src/testing/testing.go) didn't mention anything about a version format for seed files, and the error message does not explain how to resolve the issue.
I also tried searching Google for information if other people had run into the error, and didn't find any.
Updates #49229.
The text was updated successfully, but these errors were encountered: