Undocumented
Function | find |
Undocumented |
Function | _context |
Return the ASID (Address Space IDentifier) for the context. |
Function | _context |
Return the Program Counter (PC) value for the context. |
Function | _handle |
Returns the iret transition matching the given exception or None. |
Function | _handle |
Returns the exception transition matching the given iret or None. |
Function | _handle |
Returns the sysret transition matching the given syscall or None. |
Function | _handle |
Returns the sysexit transition matching the given sysenter or None. |
Function | _handle |
Returns the sysenter transition matching the given sysexit or None. |
Function | _handle |
Returns the syscall transition matching the given sysret or None. |
Function | _is |
Undocumented |
Function | _is |
Undocumented |
Function | _is |
Undocumented |
Function | _next |
Undocumented |
Function | _previous |
Undocumented |
Function | _syscall |
Return the return PC stored by the syscall instruction. |
Function | _transition |
Undocumented |
Function | _transition |
find last memory access reading given value at tr |
Function | _transition |
find last memory access writting given value at tr |
Undocumented
Parameters | |
transition:_trace.Transition | Undocumented |
Returns | |
_Optional[ | Undocumented |
Return the ASID (Address Space IDentifier) for the context.
Parameters | |
context:_trace.Context | Undocumented |
Returns | |
int | Undocumented |
Return the Program Counter (PC) value for the context.
RIP for 64bit or EIP for 32bit.
Parameters | |
context:_trace.Context | Undocumented |
Returns | |
int | Undocumented |
Returns the iret transition matching the given exception or None.
Find the memory access used by the exception to write the return pc. Search for the matching read access, where the iret would get the return pc. Ensure the matching transition is an iret-like.
Parameters | |
transition:_trace.Transition | Undocumented |
Returns | |
_Optional[ | Undocumented |
Returns the exception transition matching the given iret or None.
Find the memory access used by iret to read the return pc. Search for the matching write access, where the exception would write the return pc. Ensure the matching transition is an exception.
Parameters | |
transition:_trace.Transition | Undocumented |
Returns | |
_Optional[ | Undocumented |
Returns the sysret transition matching the given syscall or None.
The syscall instruction stores the return pc (used by sysret) in rcx. Search for the executions of the return pc in the trace, and check the matches against the syscall ASID (cr3) and by mnemonic.
Would be very slow without the pc ranges fast search.
Parameters | |
transition:_trace.Transition | Undocumented |
Returns | |
_Optional[ | Undocumented |
Returns the sysexit transition matching the given sysenter or None.
Iterates over `cs` changes to find the next matching sysexit. Currently only the mnemonic and the ASID (cr3) are checked.
Parameters | |
transition:_trace.Transition | Undocumented |
Returns | |
_Optional[ | Undocumented |
Returns the sysenter transition matching the given sysexit or None.
Assumes `transition` is a sysexit instruction.
Iterates over `cs` changes to find the previous matching sysenter. Currently only the mnemonic and the ASID (cr3) are checked.
Parameters | |
transition:_trace.Transition | Undocumented |
Returns | |
_Optional[ | Undocumented |
Returns the syscall transition matching the given sysret or None.
Iterate over `cs` changes to find the previous matching syscall. Currently checks the mnemonic, the ASID (cr3) and the return pc (rip) stored (in rcx) by the syscall instruction.
Undocumented
Parameters | |
transition:_trace.Transition | Undocumented |
mnemonic_Iterable[ | Undocumented |
Returns | |
bool | Undocumented |
Undocumented
Parameters | |
transition:_trace.Transition | Undocumented |
Returns | |
bool | Undocumented |
Undocumented
Parameters | |
transition:_trace.Transition | Undocumented |
Returns | |
bool | Undocumented |
Undocumented
Parameters | |
trace:_trace.Trace | Undocumented |
mem_memhist.MemoryAccess | Undocumented |
Returns | |
_Iterator[ | Undocumented |
Undocumented
Parameters | |
trace:_trace.Trace | Undocumented |
mem_memhist.MemoryAccess | Undocumented |
Returns | |
_Iterator[ | Undocumented |
Return the return PC stored by the syscall instruction.
The syscall instruction stores the return PC in RCX or ECX.
Parameters | |
context:_trace.Context | Undocumented |
Returns | |
int | Undocumented |
Undocumented
Parameters | |
transition:_trace.Transition | Undocumented |
value:int | Undocumented |
operation:_Optional[ | Undocumented |
Returns | |
_Optional[ | Undocumented |
find last memory access reading given value at tr
Parameters | |
transition:_trace.Transition | Undocumented |
value:int | Undocumented |
Returns | |
_Optional[ | Undocumented |
find last memory access writting given value at tr
Parameters | |
transition:_trace.Transition | Undocumented |
value:int | Undocumented |
Returns | |
_Optional[ | Undocumented |