| Home | Trees | Indices | Help |
|
|---|
|
|
A Mutator implements a method of mutating data/state for a Peach 2 fuzzer. For example a mutator might change the state flow defined by a Peach fuzzer. Another mutator might mutate data based on known relationships. Another mutator might perform numerical type tests against fields.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
elementType = "mutator"
|
|||
dataTypes = ['template', 'string', 'number', 'flags', 'choice'
|
|||
|
|||
Goto next mutation. When this is called the state machine is updated as needed. |
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. |
Set the state of this object. Should put us back in the same place as when we said "getState()". |
If mutator is finite than the total test count can be calculated. This calculation cannot occur until after the state machine has been run the first time. Once the state machine has been run the count can be calculated. This typically occurs in a separate thread as it can take some time to calculate. This method will return -1 until a the correct value has been calculated. |
This method should calculate the count of this mutator in a thread safe mannor. Typically this method is called from a different thread. It will never be called until the state machine has run the first time through. |
|
|||
dataTypes
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Sat Aug 16 12:17:14 2008 | http://epydoc.sourceforge.net |