Manages the taint markers defined in a taint.

It allows to recover the marker name associated to a marker handle.

In the simplified API where the markers are predefined to "tag0" and "tag1", its usefulness is limited.

Warning

This object is not meant to be constructed directly. It is created by Tainter.simple_taint.

Method __init__ Undocumented
Method marker_handle_of Returns the marker handle for marker_name or None if this name doesn't represent a marker in the marker manager
Method __getitem__ Returns the marker name for handle
def __init__(self, rvn_marker_manager):
Undocumented
def marker_handle_of(self, marker_name):

Returns the marker handle for marker_name or None if this name doesn't represent a marker in the marker manager

Information

Parametersmarker_namestring marker name.
Returnsinteger the marker handle.
def __getitem__(self, handle):

Returns the marker name for handle

Information

Parametershandleinteger marker handle.
Returnsstring the marker name.
RaisesTypeErrorif handle is not integer.
IndexErrorif handle is not a valid marker handle.
API Documentation for reven2, generated by pydoctor at 2019-09-11 11:57:21.