Documentation ¶
Index ¶
- Variables
- func Copy(src, dst string) error
- func ExecuteFuzzer(c *cli.Context, generatorFn GeneratorFn, name string) error
- func RootsEqual(path string, c *cli.Context) (bool, error)
- func RunOneTest(path string, c *cli.Context) error
- func StoreTest(location string, test *fuzzing.GeneralStateTest, testName string) (string, error)
- func TestSpeed(path string, c *cli.Context) (bool, error)
- type GeneratorFn
Constants ¶
This section is empty.
Variables ¶
View Source
var ( GethFlag = cli.StringFlag{ Name: "geth", Usage: "Location of go-ethereum 'evm' binary", } ParityFlag = cli.StringFlag{ Name: "parity", Usage: "Location of go-ethereum 'parity-vm' binary", } NethermindFlag = cli.StringFlag{ Name: "nethermind", Usage: "Location of nethermind 'nethtest' binary", } AlethFlag = cli.StringFlag{ Name: "testeth", Usage: "Location of aleth 'testeth' binary", } BesuFlag = cli.StringFlag{ Name: "besu", Usage: "Location of besu vm binary", } BesuBatchFlag = cli.StringFlag{ Name: "besubatch", Usage: "Location of besu vm binary", } ThreadFlag = cli.IntFlag{ Name: "parallel", Usage: "Number of parallel executions to use.", Value: runtime.NumCPU(), } LocationFlag = cli.StringFlag{ Name: "outdir", Usage: "Location to place artefacts", Value: "/tmp", } PrefixFlag = cli.StringFlag{ Name: "prefix", Usage: "prefix of output files", } CountFlag = cli.IntFlag{ Name: "count", Usage: "number of tests to generate", } VmFlags = []cli.Flag{ GethFlag, ParityFlag, NethermindFlag, AlethFlag, BesuFlag, BesuBatchFlag, } )
Functions ¶
func Copy ¶
Copy the src file to dst. Any existing file will be overwritten and will not copy file attributes.
func ExecuteFuzzer ¶
func ExecuteFuzzer(c *cli.Context, generatorFn GeneratorFn, name string) error
func RootsEqual ¶
func RunOneTest ¶
Types ¶
type GeneratorFn ¶
Click to show internal directories.
Click to hide internal directories.