packagefuzzerutilsimport("math/big""github.com/ethereum/go-ethereum/common"fuzz"github.com/google/gofuzz")// AddFuzzerFunctions takes a fuzz.Fuzzer and adds a list of functions to handle different// data types in a fuzzing campaign. It adds support for commonly used types throughout the// application.funcAddFuzzerFunctions(fuzzer*fuzz.Fuzzer){fuzzer.Funcs(func(e*big.Int,cfuzz.Continue){vartemp[32]bytec.Fuzz(&temp)e.SetBytes(temp[:])},func(e*common.Hash,cfuzz.Continue){vartemp[32]bytec.Fuzz(&temp)e.SetBytes(temp[:])},func(e*common.Address,cfuzz.Continue){vartemp[20]bytec.Fuzz(&temp)e.SetBytes(temp[:])},)}