Peach :: Mutators :: default :: NullMutator :: Class NullMutator
[hide private]

Class NullMutator

source code


Does not make any changes to data tree. This is usually the first mutator applied to a fuzzing run so the generated data can be verified.

Instance Methods [hide private]
 
__init__(self, peach) source code
 
isFinite(self)
Some mutators could contine forever, this should indicate.
source code
 
next(self)
Goto next mutation.
source code
 
getState(self)
Return a binary string that contains any information about current state of Mutator.
source code
 
setState(self, state)
Set the state of this object.
source code
 
getCount(self) source code
 
getActionValue(self, action) source code
 
getActionParamValue(self, action) source code
 
getActionChangeStateValue(self, action, value) source code
Method Details [hide private]

next(self)

source code 

Goto next mutation. When this is called the state machine is updated as needed.

getState(self)

source code 

Return a binary string that contains any information about current state of Mutator. This state information should be enough to let the same mutator "restart" and continue when setState() is called.

setState(self, state)

source code 

Set the state of this object. Should put us back in the same place as when we said "getState()".