nightingale1/vendor/github.com/hydrogen18/stalecucumber/fuzz.go

15 lines
177 B
Go

// +build gofuzz
package stalecucumber
import (
"bytes"
)
func Fuzz(data []byte) int {
if _, err := Unpickle(bytes.NewReader(data)); err != nil {
return 0
}
return 1
}