Patch for concurrent iterator & others (onto v1.11.6) #386
@ -25,12 +25,15 @@ import (
|
|||||||
"github.com/ethereum/go-ethereum/core/vm"
|
"github.com/ethereum/go-ethereum/core/vm"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
// Fuzz is the fuzzing entry-point.
|
||||||
// The function must return
|
// The function must return
|
||||||
// 1 if the fuzzer should increase priority of the
|
//
|
||||||
// given input during subsequent fuzzing (for example, the input is lexically
|
// - 1 if the fuzzer should increase priority of the
|
||||||
// correct and was parsed successfully);
|
// given input during subsequent fuzzing (for example, the input is lexically
|
||||||
// -1 if the input must not be added to corpus even if gives new coverage; and
|
// correct and was parsed successfully);
|
||||||
// 0 otherwise
|
// - -1 if the input must not be added to corpus even if gives new coverage; and
|
||||||
|
// - 0 otherwise
|
||||||
|
//
|
||||||
// other values are reserved for future use.
|
// other values are reserved for future use.
|
||||||
func Fuzz(input []byte) int {
|
func Fuzz(input []byte) int {
|
||||||
if len(input) <= 96 {
|
if len(input) <= 96 {
|
||||||
|
Loading…
Reference in New Issue
Block a user