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 SupportJazzerJS bool // contains filtered or unexported fields }
func NewRunner ¶
func NewRunner(options *RunnerOptions) *Runner
func (*Runner) FuzzerEnvironment ¶
type RunnerOptions ¶
type RunnerOptions struct { Dictionary string EngineArgs []string EnvVars []string FuzzTarget string GeneratedCorpusDir string KeepColor bool LibraryDirs []string LogOutput io.Writer ProjectDir string ReadOnlyBindings []string ReportHandler report.Handler SeedCorpusDirs []string Timeout time.Duration UseMinijail bool Verbose bool }
func (*RunnerOptions) ValidateOptions ¶
func (options *RunnerOptions) ValidateOptions() error
Click to show internal directories.
Click to hide internal directories.