Pyrogenesis  trunk
Functions
ia32.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

LIB_API Status ia32_GetCallTarget (void *ret_addr, void *&target)
 check if there is an IA-32 CALL instruction right before ret_addr. More...
 

Function Documentation

LIB_API Status ia32_GetCallTarget ( void *  ret_addr,
void *&  target 
)

check if there is an IA-32 CALL instruction right before ret_addr.

Returns
INFO::OK if so and ERR::FAIL if not.

also attempts to determine the call target. if that is possible (directly addressed relative or indirect jumps), it is stored in target, which is otherwise 0.

this function is used for walking the call stack.