Package Peach :: Package Generators :: Module untidy :: Class fuzzingFunctions
[hide private]

Class fuzzingFunctions

source code

This class has a collection of fuzzing funcions for xml tags, text and attrs.


Author: Andres Riancho ( andres.riancho@gmail.com )

Instance Methods [hide private]
 
__init__(self) source code
 
_getTestFuzzFunctions(self)
Returns: A list of fuzzing functions for testing.
source code
 
_getFuzzFunctions(self)
Returns: A list of fuzzing functions.
source code
 
ff0(self, xmlItem, repetitions=[])
Return the item without changes
source code
 
ff1(self, xmlItem, repetitions=[])
Matches the opening <, replace with '>'*repetitions
source code
 
ff2(self, xmlItem, repetitions=[])
If repetitions=2 and xmlItem='<foo>' this ff returns '<foo><<>>'
source code
 
ff3(self, xmlItem, repetitions=0) source code
 
ff4(self, xmlItem, repetitions=[]) source code
 
ff5(self, xmlItem, repetitions=0) source code
 
_sameType(self, charA, charB) source code
 
ff6(self, xmlItem, repetitions=[])
Lots of fuzzing going on here! :) Some of this fuzzed XML's will be valid, some not.
source code
Method Details [hide private]

_getTestFuzzFunctions(self)

source code 
Returns:
A list of fuzzing functions for testing.

_getFuzzFunctions(self)

source code 
Returns:
A list of fuzzing functions.