coverage

package
v0.0.0-...-2b5cbb2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 5, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertLibfuzzerSeedToGoSeed

func ConvertLibfuzzerSeedToGoSeed(fuzzerFileContents, testCase []byte, fuzzerName string) string

This is the API that should be called externally. Params: fuzzerFileContents: the contents of the fuzzerfile. This should be obtained with os.ReadFile(). testCase: The libFuzzer testcase. This should also be obtained with os.ReadFile().

Types

type BodyWalker

type BodyWalker struct {
	// contains filtered or unexported fields
}

func (*BodyWalker) Visit

func (walker *BodyWalker) Visit(node ast.Node) ast.Visitor

type Walker

type Walker struct {
	// contains filtered or unexported fields
}

func (*Walker) Visit

func (walker *Walker) Visit(node ast.Node) ast.Visitor

Main walker func to traverse a fuzz harness when obtaining the fuzzers args. Does not add the first add (t *testing.T)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL