| Home | Trees | Index | Help |
|
|---|
| Package sulley :: Module primitives :: Class string |
|
object --+
|
base_primitive --+
|
string
| Method Summary | |
|---|---|
Primitive that cycles through a library of "bad" strings. | |
Given a sequence, generate a number of selectively chosen strings lengths of the given sequence and add to the string heuristic library. | |
Render the primitive, encode the string according to the specified encoding. | |
| Inherited from base_primitive | |
| Integer |
Exhaust the possible mutations for this primitive. |
| Boolean |
Mutate the primitive by stepping through the fuzz library, return False on completion. |
| Integer |
Calculate and return the total number of mutations for this individual primitive. |
Reset this primitive to the starting mutation state. | |
| Inherited from object | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
x.__hash__() <==> hash(x) | |
T.__new__(S, ...) -> a new object with type S, a subtype of T | |
helper for pickle | |
helper for pickle | |
x.__repr__() <==> repr(x) | |
x.__setattr__('name', value) <==> x.name = value | |
x.__str__() <==> str(x) | |
| Method Details |
|---|
__init__(self,
value,
size=-1,
padding='\x00',
encoding='ascii',
fuzzable=True,
name=None)
Primitive that cycles through a library of "bad"
strings.
|
add_long_strings(self, sequence)Given a sequence, generate a number of selectively chosen strings lengths of the given sequence and add to the string heuristic library.
|
render(self)Render the primitive, encode the string according to the specified encoding.
|
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Fri Jul 27 17:40:03 2007 | http://epydoc.sf.net |