VictoriaMetrics/vendor/honnef.co/go/tools/printf/fuzz.go

12 lines
137 B
Go

// +build gofuzz
package printf
func Fuzz(data []byte) int {
_, err := Parse(string(data))
if err == nil {
return 1
}
return 0
}