Documentation ¶
Index ¶
Constants ¶
View Source
const ( MaxBufferedReports = 10 // ExitGracePeriod is time we give libfuzzer to exit after // max_total_time was exceeded. // Must be more than 2 seconds, because in the CI it happened that // libfuzzer did not exit within 2 seconds. ExitGracePeriod = time.Second * 5 )
Variables ¶
This section is empty.
Functions ¶
func IsExpectedExitError ¶
Types ¶
type Runner ¶
type Runner struct { *RunnerOptions SupportJazzer bool // contains filtered or unexported fields }
func NewRunner ¶
func NewRunner(options *RunnerOptions) *Runner
func (*Runner) FuzzerEnvironment ¶
type RunnerOptions ¶
type RunnerOptions struct { FuzzTarget string GeneratedCorpusDir string SeedCorpusDirs []string Dictionary string LibraryDirs []string ReadOnlyBindings []string EnvVars []string EngineArgs []string FuzzTestArgs []string ReportHandler report.Handler Timeout time.Duration UseMinijail bool Verbose bool KeepColor bool LogOutput io.Writer }
func (*RunnerOptions) ValidateOptions ¶
func (options *RunnerOptions) ValidateOptions() error
Click to show internal directories.
Click to hide internal directories.