Bases: object
Log input events injected by a control_flow.Fuzzer
If there were un-acknowledge message receives or state changes at the end of the run, dump them to a separate input trace ”.unacked”
Parses `superlog’s and returns a list of sts.event.Event objects
`superlog’ format: Each line is a json hash representing either an internal event or an external input event.
‘label’: any unique identifier ‘class’: the name of the corresponding python class that
encapsulates this event type, e.g. ‘LinkFailure’. These classes can be found in sts/event.py
Hashes may have additional custom keys. For example, external input events must the following key:
- ‘dependent_labels’: list of dependent labels (internal events that will not occur if this
- event is pruned)
Check to make sure that event_label is not in existing_event_labels. Throw an exception if this invariant does not hold.
If the invariant does hold, add event_label to existing_event_labels.
Input: logfile.
Output: A list of all the internal and external events in the order in which they exist in the logfile. Each internal event is annotated with the set of source events that are necessary conditions for its occurence.
Input: path to a logfile.
Output: A list of all the internal and external events in the order in which they exist in the logfile. Each internal event is annotated with the set of source events that are necessary conditions for its occurence.