Documentation ¶
Index ¶
- func BuildFuzzTarget(t *testing.T, name string) string
- func CheckReports(t *testing.T, reports []*report.Report, options *CheckReportOptions)
- func FuzzTestExecutablePath(t *testing.T, buildDir, fuzzTest string) string
- func TempBuildDir(t *testing.T) string
- func TestDataDir(t *testing.T) string
- func TestWithAndWithoutMinijail(t *testing.T, f func(t *testing.T, disableMinijail bool))
- type ChannelPassthrough
- type CheckReportOptions
- type RunnerTest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckReports ¶
func CheckReports(t *testing.T, reports []*report.Report, options *CheckReportOptions)
CheckReports offers an easy way to check a set of reports against some options
func FuzzTestExecutablePath ¶
func TempBuildDir ¶
func TestDataDir ¶
Types ¶
type ChannelPassthrough ¶
type ChannelPassthrough struct {
// contains filtered or unexported fields
}
ChannelPassthrough pipes the reports from the runner package to a report channel and also prints them to stdout
type CheckReportOptions ¶
type RunnerTest ¶
type RunnerTest struct { FuzzTarget string Engine config.Engine GeneratedCorpusDir string Timeout time.Duration EngineArgs []string FuzzTestArgs []string FuzzerEnv []string DisableMinijail bool RunsLimit int LogOutput *bytes.Buffer ProjectDir string }
RunnerTest helps to execute tests for the runner package
func NewLibfuzzerTest ¶
func NewLibfuzzerTest(t *testing.T, buildDir, fuzzTarget string, disableMinijail bool) *RunnerTest
func (*RunnerTest) RequireSeedCorpusNotEmpty ¶
func (test *RunnerTest) RequireSeedCorpusNotEmpty(t *testing.T)
Click to show internal directories.
Click to hide internal directories.