reven2.ossi.ossi.OssiContext(object) class documentationreven2.ossi.ossi
(View In Hierarchy)
Object that provide useful OSSI information for a particular context.
Must not be directly constructed but retrieved through the following examples.
>>> # From a Transition >>> transition.context_before().ossi # from the context before the transition >>> transition.context_after().ossi # from the context after the transition
>>> # From a Context >>> context.ossi
| Method | __init__ | Undocumented |
| Method | location | Useful OSSI information related to an address, such as the nearest symbol or the base address. |
| Method | process | Undocumented |
| Method | __repr__ | Undocumented |
Useful OSSI information related to an address, such as the nearest symbol or the base address.
If the location could not be resolved, None is
returned.
>>> print(context.ossi.location()) 'ntoskrnl!KiIsrLinkage+0x5a'
| Parameters | addr | The address on which the symbol context is query. if None, the
value stored in the pc register is used as address. (type: int, long or None.) |
| Returns | A Location or
None. | |