摘要 |
A computer implemented method or computer readable code for determining function call history for a system, which runs both code with a frame pointer and a stack pointer and code with a stack pointer and without a frame pointer. Execution is frozen on at least one CPU. A function of plurality of functions that were executing on the at least one CPU is stepped through, where some of the plurality of functions have a frame pointer and a stack pointer and some of the plurality of functions have a stack pointer but do not have a frame pointer. The stack offset to the stack memory location, where the return address in parent function is stored, is calculated to find the return address in parent function, which called the function being stepped through.
|