class documentation
class MarkerManager(object):
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 | __getitem__ |
Returns the marker name for handle |
Method | __init__ |
Undocumented |
Method | marker |
Returns the marker handle for marker_name or None if this name doesn't represent a marker in the marker manager |
Instance Variable | _marker |
Undocumented |
def __getitem__(self, handle):
Returns the marker name for handle
Information
Parameters | |
handle:MarkerHandle | integer marker handle. |
Returns | |
MarkerName | string the marker name. |
Raises | |
TypeError | if handle is not integer. |
IndexError | if handle is not a valid marker handle. |