forked from TrueCloudLab/policy-engine
14 lines
192 B
Go
14 lines
192 B
Go
|
//go:build gofuzz
|
||
|
// +build gofuzz
|
||
|
|
||
|
package chain
|
||
|
|
||
|
func DoFuzzChainUnmarshalBinary(data []byte) int {
|
||
|
var ch Chain
|
||
|
err := ch.UnmarshalBinary(data)
|
||
|
if err != nil {
|
||
|
return 0
|
||
|
}
|
||
|
return 1
|
||
|
}
|