Known subclasses: reven2.address.LinearAddress, reven2.address.LogicalAddress, reven2.address.LogicalAddressSegmentIndex, reven2.address.PhysicalAddress

The abstract class from which any address representation is derived.

It contains implementation of comparison operators and addition/substraction operators.

Method offset Property: The offset of the address.
Method __eq__ Undocumented
Method __ne__ Undocumented
Method __lt__ Undocumented
Method __le__ Undocumented
Method __gt__ Undocumented
Method __ge__ Undocumented
Method __iadd__ Undocumented
Method __isub__ Undocumented
Method __add__ Undocumented
Method __sub__ Undocumented
Method _is_comparable Whether two address objects are comparable or not.
Static Method _unpack_segment_register Undocumented
Static Method _unpack Unpack a low level representation of an address to its high level representation.
@property
def offset(self):

Property: The offset of the address.

Examples

>>> hex(address.PhysicalAddress(0xfffff800c99455b0L).offset)
'0xfffff800c99455b0L'
>>> hex(address.LinearAddress(0xfffff800c99455b0L).offset)
'0xfffff800c99455b0L'
>>> hex(address.LogicalAddress(0xfffff800c99455b0L).offset)
'0xfffff800c99455b0L'
>>> hex(address.LogicalAddressSegmentIndex(0xfffff800c99455b0L).offset)
'0xfffff800c99455b0L'

Information

ReturnsAn integer.
@_abc.abstractmethod
def _is_comparable(self, other):
def __eq__(self, other):
Undocumented
def __ne__(self, other):
Undocumented
def __lt__(self, other):
Undocumented
def __le__(self, other):
Undocumented
def __gt__(self, other):
Undocumented
def __ge__(self, other):
Undocumented
def __iadd__(self, other):
Undocumented
def __isub__(self, other):
Undocumented
def __add__(self, other):
Undocumented
def __sub__(self, other):
Undocumented
@staticmethod
def _unpack_segment_register(data):
Undocumented
@staticmethod
def _unpack(data):

Unpack a low level representation of an address to its high level representation.

API Documentation for reven2, generated by pydoctor at 2019-11-13 18:38:15.