A modelisation of a static symbol.

Warnings

Must not be directly constructed but retrieved through the following examples. Using an instance of Symbol directly constructed could lead to an AssertionError.

Examples

>>> # From a Transition
>>> transition.context_before().ossi.location().symbol
>>> transition.context_after().ossi.location().symbol
>>> # From a Context
>>> context.location().symbol
>>> # From a Binary
>>> for symbol in binary.symbols:
>>>     print(symbol)
'toto'
'tata'
Method __init__ Undocumented
Method rva Property: The relative virtual address (rva) inside the binary.
Method name Property: The name of the symbol.
Method binary Property: The binary in which the symbol have been declared.
Method __str__ Undocumented
Method __repr__ Undocumented
Method __eq__ Undocumented
Method __ne__ Undocumented
Method __lt__ Undocumented
Method __le__ Undocumented
Method __gt__ Undocumented
Method __ge__ Undocumented
def __init__(self, _datasource, _binary_id, _symbol):
Undocumented
@property
def rva(self):

Property: The relative virtual address (rva) inside the binary.

The rva is the offset from the base address of the binary loaded in memory.

Examples

>>> hex(symbol.rva)
'0x1445a0'

Information

ReturnsAn integer.
@property
def name(self):

Property: The name of the symbol.

Examples

>>> symbol.name
'KiIsrLinkage'

Information

ReturnsA string.
@property
def binary(self):

Property: The binary in which the symbol have been declared.

Examples

>>> print(symbol.binary)
'c:/windows/system32/ntoskrnl.exe'

Information

ReturnsA Binary.
def __str__(self):
Undocumented
def __repr__(self):
Undocumented
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
API Documentation for reven2, generated by pydoctor at 2019-11-13 18:38:15.