C# Class Fuzzer.FuzzController

Controls the fuzzing process and reports exceptions as they occur
Exibir arquivo Open project: areiter/InMemoryFuzzing

Protected Properties

Property Type Description
_connector ITargetConnector
_dataLogger IDataLogger
_errorLog Fuzzer.DataLoggers.ErrorLog
_fuzzDescription Fuzzer.FuzzDescriptions.FuzzDescription
_log log4net.ILog
_logDestination string
_preConditions IFuzzLocation[]
_snapshot ISnapshot

Public Methods

Method Description
Fuzz ( ) : void
FuzzController ( ITargetConnector connector, ISnapshot snapshot, string logDestination, IDataLogger logger, FuzzDescription fuzzDescription, IFuzzLocation preConditions ) : System

Creates a new FuzzController. The snapshot already gets created outside and gets restored once the restore Breakpoint is reached

FuzzController ( ITargetConnector connector, string logDestination, IDataLogger logger, FuzzDescription fuzzDescription, IFuzzLocation preConditions ) : System

Creates a new FuzzController. Once the snapshotBreakpoint is reached a snapshot is created. The snapshot gets restored once restore Breakpoint is reached

Private Methods

Method Description
IncrementLoggerPrefix ( int &loggerPrefix, string morePrefix ) : void
InvokeFuzzLocations ( TriggerEnum triggerType, object triggerData ) : void
LoggerFinishFuzzRun ( ) : void
LoggerStartFuzzRun ( ) : void
RestoreAndFuzz ( int &loggerPrefix, string morePrefix ) : void

Method Details

Fuzz() public method

public Fuzz ( ) : void
return void

FuzzController() public method

Creates a new FuzzController. The snapshot already gets created outside and gets restored once the restore Breakpoint is reached
public FuzzController ( ITargetConnector connector, ISnapshot snapshot, string logDestination, IDataLogger logger, FuzzDescription fuzzDescription, IFuzzLocation preConditions ) : System
connector ITargetConnector connector to use
snapshot ISnapshot The snapshot to restore once restore Breakpoint is reachead
logDestination string
logger IDataLogger
fuzzDescription Fuzzer.FuzzDescriptions.FuzzDescription
preConditions IFuzzLocation
return System

FuzzController() public method

Creates a new FuzzController. Once the snapshotBreakpoint is reached a snapshot is created. The snapshot gets restored once restore Breakpoint is reached
public FuzzController ( ITargetConnector connector, string logDestination, IDataLogger logger, FuzzDescription fuzzDescription, IFuzzLocation preConditions ) : System
connector ITargetConnector connector to use
logDestination string
logger IDataLogger
fuzzDescription Fuzzer.FuzzDescriptions.FuzzDescription
preConditions IFuzzLocation
return System

Property Details

_connector protected_oe property

protected ITargetConnector _connector
return ITargetConnector

_dataLogger protected_oe property

protected IDataLogger _dataLogger
return IDataLogger

_errorLog protected_oe property

protected ErrorLog,Fuzzer.DataLoggers _errorLog
return Fuzzer.DataLoggers.ErrorLog

_fuzzDescription protected_oe property

protected FuzzDescription,Fuzzer.FuzzDescriptions _fuzzDescription
return Fuzzer.FuzzDescriptions.FuzzDescription

_log protected_oe property

protected ILog,log4net _log
return log4net.ILog

_logDestination protected_oe property

protected string _logDestination
return string

_preConditions protected_oe property

protected IFuzzLocation[] _preConditions
return IFuzzLocation[]

_snapshot protected_oe property

protected ISnapshot _snapshot
return ISnapshot