reven2.ossi.ossi.Symbol(object) class documentationreven2.ossi.ossi
          
          (View In Hierarchy)
        
      A modelisation of a static symbol.
Must not be directly constructed but retrieved through the following 
  examples. Using an instance of Symbol directly 
  constructed could lead to an AssertionError.
>>> # 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 | 
Property: The relative virtual address (rva) inside the binary.
The rva is the offset from the base address of the binary loaded in memory.
>>> hex(symbol.rva) '0x1445a0'
| Returns | An integer. | |
Property: The name of the symbol.
>>> symbol.name 'KiIsrLinkage'
| Returns | A string. | |
Property: The binary in which the symbol have been declared.
>>> print(symbol.binary) 'c:/windows/system32/ntoskrnl.exe'
| Returns | A Binary. | |