github.com/golangci/go-tools@v0.0.0-20190318060251-af6baa5dc196/printf/fuzz.go (about) 1 // +build gofuzz 2 3 package printf 4 5 func Fuzz(data []byte) int { 6 _, err := Parse(string(data)) 7 if err == nil { 8 return 1 9 } 10 return 0 11 }