build

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var JazzerFuzzTestRegex = regexp.MustCompile(`@FuzzTest|\sfuzzerTestOneInput\(`)

Functions

func CommonBuildEnv

func CommonBuildEnv() ([]string, error)

func CoverageCFlags added in v0.5.0

func CoverageCFlags(clangVersion *semver.Version) []string

func JazzerGeneratedCorpus added in v0.5.0

func JazzerGeneratedCorpus(targetClass string, projectDir string) string

func JazzerSeedCorpus added in v0.5.0

func JazzerSeedCorpus(targetClass string, projectDir string) string

func LibFuzzerCFlags added in v0.5.0

func LibFuzzerCFlags() []string

func ListJazzerFuzzTests added in v0.12.0

func ListJazzerFuzzTests(projectDir string) ([]string, error)

Types

type Result

type Result struct {
	// A name which uniquely identifies the fuzz test and is a valid path
	Name string
	// Canonical path of the fuzz test executable
	Executable string
	// Canonical path of the fuzz test's generated corpus directory
	GeneratedCorpus string
	// Canonical path of the fuzz test's default seed corpus directory
	SeedCorpus string
	// Canonical path of the build directory
	BuildDir string
	// The engine for which the fuzz test was built
	Engine string
	// The sanitizers with which the fuzz test was built
	Sanitizers []string
	// The canonical paths of the fuzz test's runtime dependencies
	RuntimeDeps []string
	// Canonical path of the directory to which source file paths should
	// be made relative
	ProjectDir string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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