oss-fuzz/projects/ygot/fuzz.go

13 lines
162 B
Go
Raw Normal View History

2021-03-09 14:12:38 +00:00
// +build gofuzz
package exampleoc
func Fuzz(data []byte) int {
nd := &Device{}
err := Unmarshal([]byte(data), nd)
if err != nil {
return 0
}
return 1
}