开发者

determine name of running function from eip address? [duplicate]

开发者_Python百科This question already has answers here: Closed 12 years ago.

Possible Duplicate:

use callback function to report stack backtrace

Given a void *eip and an array of struct function symbols that contain the address, symbolic name, and binding of all function symbols in the file, how do I determine the function running at the time of the error?


If the executing module isn't relocated at runtime, you could probably try to check if your EIP lies between two function addresses in your function symbols.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜