LLVM  6.0.0svn
Public Attributes | List of all members
fuzzer::FuzzingOptions Struct Reference

#include "Fuzzer/FuzzerOptions.h"

Collaboration diagram for fuzzer::FuzzingOptions:
Collaboration graph
[legend]

Public Attributes

int Verbosity = 1
 
size_t MaxLen = 0
 
bool ExperimentalLenControl = false
 
int UnitTimeoutSec = 300
 
int TimeoutExitCode = 77
 
int ErrorExitCode = 77
 
int MaxTotalTimeSec = 0
 
int RssLimitMb = 0
 
bool DoCrossOver = true
 
int MutateDepth = 5
 
bool UseCounters = false
 
bool UseIndirCalls = true
 
bool UseMemmem = true
 
bool UseCmp = false
 
bool UseValueProfile = false
 
bool Shrink = false
 
bool ReduceInputs = false
 
int ReloadIntervalSec = 1
 
bool ShuffleAtStartUp = true
 
bool PreferSmall = true
 
size_t MaxNumberOfRuns = -1L
 
int ReportSlowUnits = 10
 
bool OnlyASCII = false
 
std::string OutputCorpus
 
std::string ArtifactPrefix = "./"
 
std::string ExactArtifactPath
 
std::string ExitOnSrcPos
 
std::string ExitOnItem
 
bool SaveArtifacts = true
 
bool PrintNEW = true
 
bool PrintNewCovPcs = false
 
bool PrintFinalStats = false
 
bool PrintCorpusStats = false
 
bool PrintCoverage = false
 
bool DumpCoverage = false
 
bool DetectLeaks = true
 
int TraceMalloc = 0
 
bool HandleAbrt = false
 
bool HandleBus = false
 
bool HandleFpe = false
 
bool HandleIll = false
 
bool HandleInt = false
 
bool HandleSegv = false
 
bool HandleTerm = false
 
bool HandleXfsz = false
 

Detailed Description

Definition at line 18 of file FuzzerOptions.h.

Member Data Documentation

◆ ArtifactPrefix

std::string fuzzer::FuzzingOptions::ArtifactPrefix = "./"

Definition at line 43 of file FuzzerOptions.h.

Referenced by fuzzer::Fuzzer::ExecuteCallback().

◆ DetectLeaks

bool fuzzer::FuzzingOptions::DetectLeaks = true

◆ DoCrossOver

bool fuzzer::FuzzingOptions::DoCrossOver = true

Definition at line 27 of file FuzzerOptions.h.

Referenced by fuzzer::Fuzzer::Loop(), and fuzzer::MinimizeCrashInput().

◆ DumpCoverage

bool fuzzer::FuzzingOptions::DumpCoverage = false

Definition at line 53 of file FuzzerOptions.h.

Referenced by fuzzer::Fuzzer::PrintFinalStats().

◆ ErrorExitCode

int fuzzer::FuzzingOptions::ErrorExitCode = 77

◆ ExactArtifactPath

std::string fuzzer::FuzzingOptions::ExactArtifactPath

Definition at line 44 of file FuzzerOptions.h.

Referenced by fuzzer::Fuzzer::ExecuteCallback().

◆ ExitOnItem

std::string fuzzer::FuzzingOptions::ExitOnItem

Definition at line 46 of file FuzzerOptions.h.

Referenced by fuzzer::Fuzzer::SetMaxMutationLen().

◆ ExitOnSrcPos

std::string fuzzer::FuzzingOptions::ExitOnSrcPos

Definition at line 45 of file FuzzerOptions.h.

Referenced by fuzzer::Fuzzer::SetMaxMutationLen().

◆ ExperimentalLenControl

bool fuzzer::FuzzingOptions::ExperimentalLenControl = false

Definition at line 21 of file FuzzerOptions.h.

Referenced by fuzzer::Fuzzer::Loop(), and fuzzer::MinimizeCrashInput().

◆ HandleAbrt

bool fuzzer::FuzzingOptions::HandleAbrt = false

Definition at line 56 of file FuzzerOptions.h.

◆ HandleBus

bool fuzzer::FuzzingOptions::HandleBus = false

Definition at line 57 of file FuzzerOptions.h.

◆ HandleFpe

bool fuzzer::FuzzingOptions::HandleFpe = false

Definition at line 58 of file FuzzerOptions.h.

◆ HandleIll

bool fuzzer::FuzzingOptions::HandleIll = false

Definition at line 59 of file FuzzerOptions.h.

◆ HandleInt

bool fuzzer::FuzzingOptions::HandleInt = false

Definition at line 60 of file FuzzerOptions.h.

◆ HandleSegv

bool fuzzer::FuzzingOptions::HandleSegv = false

Definition at line 61 of file FuzzerOptions.h.

◆ HandleTerm

bool fuzzer::FuzzingOptions::HandleTerm = false

Definition at line 62 of file FuzzerOptions.h.

◆ HandleXfsz

bool fuzzer::FuzzingOptions::HandleXfsz = false

Definition at line 63 of file FuzzerOptions.h.

◆ MaxLen

size_t fuzzer::FuzzingOptions::MaxLen = 0

◆ MaxNumberOfRuns

size_t fuzzer::FuzzingOptions::MaxNumberOfRuns = -1L

◆ MaxTotalTimeSec

int fuzzer::FuzzingOptions::MaxTotalTimeSec = 0

Definition at line 25 of file FuzzerOptions.h.

Referenced by fuzzer::MinimizeCrashInput(), and fuzzer::Fuzzer::TimedOut().

◆ MutateDepth

int fuzzer::FuzzingOptions::MutateDepth = 5

◆ OnlyASCII

bool fuzzer::FuzzingOptions::OnlyASCII = false

◆ OutputCorpus

std::string fuzzer::FuzzingOptions::OutputCorpus

◆ PreferSmall

bool fuzzer::FuzzingOptions::PreferSmall = true

◆ PrintCorpusStats

bool fuzzer::FuzzingOptions::PrintCorpusStats = false

Definition at line 51 of file FuzzerOptions.h.

Referenced by fuzzer::Fuzzer::PrintFinalStats().

◆ PrintCoverage

bool fuzzer::FuzzingOptions::PrintCoverage = false

Definition at line 52 of file FuzzerOptions.h.

Referenced by fuzzer::Fuzzer::PrintFinalStats().

◆ PrintFinalStats

bool fuzzer::FuzzingOptions::PrintFinalStats = false

Definition at line 50 of file FuzzerOptions.h.

Referenced by fuzzer::Fuzzer::PrintFinalStats().

◆ PrintNEW

bool fuzzer::FuzzingOptions::PrintNEW = true

Definition at line 48 of file FuzzerOptions.h.

Referenced by fuzzer::Fuzzer::ExecuteCallback().

◆ PrintNewCovPcs

bool fuzzer::FuzzingOptions::PrintNewCovPcs = false

Definition at line 49 of file FuzzerOptions.h.

Referenced by fuzzer::Fuzzer::Loop().

◆ ReduceInputs

bool fuzzer::FuzzingOptions::ReduceInputs = false

Definition at line 35 of file FuzzerOptions.h.

Referenced by fuzzer::MinimizeCrashInput(), and fuzzer::Fuzzer::RunOne().

◆ ReloadIntervalSec

int fuzzer::FuzzingOptions::ReloadIntervalSec = 1

◆ ReportSlowUnits

int fuzzer::FuzzingOptions::ReportSlowUnits = 10

Definition at line 40 of file FuzzerOptions.h.

Referenced by fuzzer::Fuzzer::ShuffleAndMinimize().

◆ RssLimitMb

int fuzzer::FuzzingOptions::RssLimitMb = 0

Definition at line 26 of file FuzzerOptions.h.

Referenced by fuzzer::Fuzzer::RssLimitCallback().

◆ SaveArtifacts

bool fuzzer::FuzzingOptions::SaveArtifacts = true

Definition at line 47 of file FuzzerOptions.h.

Referenced by fuzzer::Fuzzer::ExecuteCallback(), and fuzzer::FuzzerDriver().

◆ Shrink

bool fuzzer::FuzzingOptions::Shrink = false

Definition at line 34 of file FuzzerOptions.h.

Referenced by fuzzer::MinimizeCrashInput(), and fuzzer::Fuzzer::RunOne().

◆ ShuffleAtStartUp

bool fuzzer::FuzzingOptions::ShuffleAtStartUp = true

◆ TimeoutExitCode

int fuzzer::FuzzingOptions::TimeoutExitCode = 77

◆ TraceMalloc

int fuzzer::FuzzingOptions::TraceMalloc = 0

Definition at line 55 of file FuzzerOptions.h.

Referenced by fuzzer::Fuzzer::ExecuteCallback().

◆ UnitTimeoutSec

int fuzzer::FuzzingOptions::UnitTimeoutSec = 300

◆ UseCmp

bool fuzzer::FuzzingOptions::UseCmp = false

◆ UseCounters

bool fuzzer::FuzzingOptions::UseCounters = false

Definition at line 29 of file FuzzerOptions.h.

Referenced by fuzzer::Fuzzer::Fuzzer(), and fuzzer::MinimizeCrashInput().

◆ UseIndirCalls

bool fuzzer::FuzzingOptions::UseIndirCalls = true

Definition at line 30 of file FuzzerOptions.h.

Referenced by fuzzer::MinimizeCrashInput().

◆ UseMemmem

bool fuzzer::FuzzingOptions::UseMemmem = true

◆ UseValueProfile

bool fuzzer::FuzzingOptions::UseValueProfile = false

Definition at line 33 of file FuzzerOptions.h.

Referenced by fuzzer::Fuzzer::Fuzzer(), and fuzzer::MinimizeCrashInput().

◆ Verbosity

int fuzzer::FuzzingOptions::Verbosity = 1

The documentation for this struct was generated from the following file: