class documentation

class ChangeMarkers(object):

View In Hierarchy

Models gained and lost markers for a TaintAccess entry.

Its two properties gained and lost return a MarkerIterator over gained and lost markers for this taint change respectively.

Warnings

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

Examples

>>> changes = taint.accesses(changes_only=True)
>>> for change in changes.all():
...     for mem, change_markers in change.tainted_memories():
...         # change_markers is a ChangeMarker
...         # gained markers
...         for handle, name in change_markers.gained:
...             print(name)
...         # lost markers
...         for handle, name in change_markers.lost:
...             print(name)
Method __init__ Undocumented
Method __repr__ Undocumented
Property gained Property: return a generator of gained markers
Property lost Property: return a generator of lost markers
Instance Variable _gained Undocumented
Instance Variable _lost Undocumented
def __init__(self, gained, lost):

Undocumented

Parameters
gained:MarkerIteratorUndocumented
lost:MarkerIteratorUndocumented
def __repr__(self):

Undocumented

@property
gained: MarkerIterator =

Property: return a generator of gained markers

Information

Returns
A MarkerIterator.
@property
lost: MarkerIterator =

Property: return a generator of lost markers

Information

Returns
A MarkerIterator.
_gained =

Undocumented

_lost =

Undocumented