C# Class Fuzzer.FuzzLocations.BaseFuzzLocation

Provides basic functionality for derived classes. It is not required to derive from this class.
Inheritance: IFuzzLocation
Exibir arquivo Open project: areiter/InMemoryFuzzing

Protected Properties

Property Type Description
_changeableComponents List
_connector ITargetConnector
_dataGenerator IDataGenerator
_isPreCondition bool
_stopCondition IFuzzStopCondition
_triggers ITrigger[]

Public Methods

Method Description
ApplyChangeableId ( object changeableId ) : void
Dispose ( ) : void
Init ( XmlElement fuzzLocationRoot, ITargetConnector connector, IFuzzLocation>.Dictionary predefinedFuzzers ) : void
InitChanges ( XmlElement fuzzLocationRoot ) : object
IsTriggered ( TriggerEnum triggerType, object data ) : bool
NextFuzzRun ( ) : void
Run ( FuzzController ctrl ) : void
SetLogger ( LoggerDestinationEnum loggerDestination, IDataLogger logger ) : void

Protected Methods

Method Description
Disposing ( ) : void
InternInitChanges ( object changeableId, XmlElement fuzzLocationRoot ) : void

Private Methods

Method Description
ReadDataGen ( XmlElement root ) : void
ReadStopCondition ( XmlElement root ) : void
ReadTriggers ( XmlElement root, ITargetConnector connector ) : void

Method Details

ApplyChangeableId() public method

public ApplyChangeableId ( object changeableId ) : void
changeableId object
return void

Dispose() public method

public Dispose ( ) : void
return void

Disposing() protected method

protected Disposing ( ) : void
return void

Init() public method

public Init ( XmlElement fuzzLocationRoot, ITargetConnector connector, IFuzzLocation>.Dictionary predefinedFuzzers ) : void
fuzzLocationRoot System.Xml.XmlElement
connector ITargetConnector
predefinedFuzzers IFuzzLocation>.Dictionary
return void

InitChanges() public method

public InitChanges ( XmlElement fuzzLocationRoot ) : object
fuzzLocationRoot System.Xml.XmlElement
return object

InternInitChanges() protected method

protected InternInitChanges ( object changeableId, XmlElement fuzzLocationRoot ) : void
changeableId object
fuzzLocationRoot System.Xml.XmlElement
return void

IsTriggered() public method

public IsTriggered ( TriggerEnum triggerType, object data ) : bool
triggerType TriggerEnum
data object
return bool

NextFuzzRun() public method

public NextFuzzRun ( ) : void
return void

Run() public method

public Run ( FuzzController ctrl ) : void
ctrl FuzzController
return void

SetLogger() public method

public SetLogger ( LoggerDestinationEnum loggerDestination, IDataLogger logger ) : void
loggerDestination LoggerDestinationEnum
logger IDataLogger
return void

Property Details

_changeableComponents protected_oe property

protected List _changeableComponents
return List

_connector protected_oe property

Associated connector
protected ITargetConnector _connector
return ITargetConnector

_dataGenerator protected_oe property

Datagenerator of the fuzz location if supported
protected IDataGenerator _dataGenerator
return IDataGenerator

_isPreCondition protected_oe property

Determines if the current fuzz location is a precondition (no logging or snapshots)
protected bool _isPreCondition
return bool

_stopCondition protected_oe property

Specifies the stop condition of this fuzz location
protected IFuzzStopCondition _stopCondition
return IFuzzStopCondition

_triggers protected_oe property

Contains all location triggers
protected ITrigger[] _triggers
return ITrigger[]