Skip to content

Commit

Permalink
Merge pull request #643 from tomato42/advanced-decision-tree
Browse files Browse the repository at this point in the history
clarify some terms in Decision graph chapter
  • Loading branch information
tomato42 committed Mar 12, 2020
2 parents 55036db + 36fae27 commit a8c6100
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docs/source/advanced-decision-graph.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,16 @@ complex supported one.
Node fields
===========

A decision graph node has two pointers, to a ``child`` and to a ``next_sibling``.
A decision graph node, a :py:class:`~tlsfuzzer.tree.TreeNode`, has two
pointers, to a ``child`` and to a ``next_sibling``.
On initialisation nodes set them to ``None``.

Child nodes
-----------

When a node matches received message and processes it without errors,
runner continues execution by switching to the child.
:py:class:`~tlsfuzzer.runner.Runner` continues execution by switching to the
child.

If ``child`` points to ``None``, runner closes open connections and ends
execution.
Expand Down

0 comments on commit a8c6100

Please sign in to comment.