class TaintedMemories(TaintedData):
Models a range of memory
>>> # Create memory range with logical address C{ds:0xfff54545} and size 1 >>> mem1 = TaintedMemories(0xfff54545) >>> # Create memory range with physical C{0x545454} address and size 8 >>> mem2 = TaintedMemories(reven2.address.PhysicalAddress(0x545454), 8)
Method | __init__ |
Initialize a TaintedMemories from an address and size |
Property | address |
Property: The fist address in the memory range |
Property | size |
Property: The size of the memory range |
Method | __str__ |
Undocumented |
Method | __repr__ |
Undocumented |
Method | __eq__ |
Undocumented |
Method | __ne__ |
Undocumented |
Method | __hash__ |
Undocumented |
Instance Variable | _address |
Undocumented |
Instance Variable | _size |
Undocumented |
Static Method | _unpack |
Undocumented |
Method | _pack |
Undocumented |
Initialize a TaintedMemories from an address and size
Parameters | address | is the first address of the memory range. Can be an integer or a class from the reven2.address module |
size | the size of the range (type: integer ) | |
Raises | TypeError | if the address is not of a supported type |
ValueError | if the address is not a class from the {reven2.address} module and cannot be converted to an integer |
Property: The fist address in the memory range
>>> TaintedMemories(0xfff669988).address LogicalAddress(segment_register=ds, offset=0xfff669988)
Returns | An address from reven2.address module. |