Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
|
Go to the source code of this file.
Functions | |
Status | ia32_GetCallTarget (void *ret_addr, void *&target) |
check if there is an IA-32 CALL instruction right before ret_addr. More... | |
Status ia32_GetCallTarget | ( | void * | ret_addr, |
void *& | target | ||
) |
check if there is an IA-32 CALL instruction right before ret_addr.
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.