Documentation ¶
Index ¶
- Variables
- func CommonBuildEnv() ([]string, error)
- func CoverageCFlags(clangVersion *semver.Version) []string
- func JazzerGeneratedCorpus(targetClass string, projectDir string) string
- func JazzerSeedCorpus(targetClass string, projectDir string) string
- func LibFuzzerCFlags() []string
- func ListJazzerFuzzTests(projectDir string) ([]string, error)
- type Result
Constants ¶
This section is empty.
Variables ¶
View Source
var JazzerFuzzTestRegex = regexp.MustCompile(`@FuzzTest|\sfuzzerTestOneInput\(`)
Functions ¶
func CommonBuildEnv ¶
func CoverageCFlags ¶ added in v0.5.0
func JazzerGeneratedCorpus ¶ added in v0.5.0
func JazzerSeedCorpus ¶ added in v0.5.0
func LibFuzzerCFlags ¶ added in v0.5.0
func LibFuzzerCFlags() []string
func ListJazzerFuzzTests ¶ added in v0.12.0
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 }
Click to show internal directories.
Click to hide internal directories.