runner

package
v0.29.0 Latest Latest
Warning

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

Go to latest
Published: May 2, 2023 License: Apache-2.0 Imports: 11 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const DeprecatedSanitizerErrorExitCode = 1

Exit code used by fuzzers which we didn't configure to return SanitizerErrorExitCode instead TODO(adrian): Use SanitizerErrorExitCode in all runners

View Source
const LibFuzzerErrorExitCode = 77

Exit code used by libFuzzer when libFuzzer itself reports a bug. See

https://github.com/llvm/llvm-project/blob/75e33f71c2dae584b13a7d1186ae0a038ba98838/compiler-rt/lib/fuzzer/FuzzerOptions.h#L26

This is configurable via the `-error_exitcode` libFuzzer flag, see

https://llvm.org/docs/LibFuzzer.html

This is also used by jazzer to indicate that an issue was found.

View Source
const LibFuzzerOOMExitCode = 71

Exit code used by libFuzzer on OOM errors. See

https://github.com/llvm/llvm-project/blob/75e33f71c2dae584b13a7d1186ae0a038ba98838/compiler-rt/lib/fuzzer/FuzzerOptions.h#L24

This is (currently) not configurable via any libFuzzer flag.

View Source
const LibFuzzerTimeoutExitCode = 70

Exit code used by libFuzzer on timeout errors. See

https://github.com/llvm/llvm-project/blob/75e33f71c2dae584b13a7d1186ae0a038ba98838/compiler-rt/lib/fuzzer/FuzzerOptions.h#L23

This is configurable via the `-timeout_exitcode` libFuzzer flag, see

https://llvm.org/docs/LibFuzzer.html
View Source
const SanitizerErrorExitCode = 78

Exit code when a sanitizer reports a bug

Variables

This section is empty.

Functions

func AddEnvFlags

func AddEnvFlags(env []string, envVars []string) ([]string, error)

func FuzzerEnvironment

func FuzzerEnvironment() ([]string, error)

func SetASANOptions

func SetASANOptions(env []string, defaults map[string]string, overrides map[string]string) ([]string, error)

func SetCommonASANOptions

func SetCommonASANOptions(env []string) ([]string, error)

func SetCommonUBSANOptions

func SetCommonUBSANOptions(env []string) ([]string, error)

func SetLDLibraryPath

func SetLDLibraryPath(env []string, libraryDirs []string) ([]string, error)

func SetSanitizerOptions

func SetSanitizerOptions(existingOptionsStr string, defaults map[string]string, overrides map[string]string) string

Types

type Sender

type Sender interface {
	Send(report *report.Report) error
}

Sender is an interface to something that can send.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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