tlsfuzzer.tree module

Handling of event tree nodes

class tlsfuzzer.tree.TreeNode[source]

Bases: object

Base class for decision tree objects.

_repr(attributes)[source]

Return a text representation of the object.

Parameters:

attributes (list(str)) – names of attributes of the object that will be included in the text representation

add_child(child)[source]

Sets the parameter as the child of the node

Returns:

the child node

get_all_siblings()[source]

Return iterator with all siblings of node

Return type:

iterator

is_command()[source]

Checks if the object is a standalone state modifier

Return type:

bool

is_expect()[source]

Checks if the object is a node which processes messages

Return type:

bool

is_generator()[source]

Checks if the object is a generator for messages to send

Return type:

bool