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