status-go/vendor/honnef.co/go/tools/printf/fuzz.go

12 lines
137 B
Go
Raw Normal View History

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