如何在正在运行的进程中查找函数指针的地址?

发布于 2024-10-08 10:07:52 字数 96 浏览 0 评论 0原文

如何在正在运行的进程中查找函数指针的地址?

我目前在 Windows XP 下使用 C++,希望找到函数的地址。有人可以帮我吗?如果可以的话请给我举个例子。谢谢。

How to find address of function pointers in a running process?

I am currently using C++ under Windows XP and wish to find the address of a function. Could somebody help me please? If you could, please give me an example. Thanks.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

忘羡 2024-10-15 10:07:52

最简单的方法:使用调试符号。

如果没有符号,您将不得不以困难的方式找出您的函数在哪里(反向编译,找到入口点,找到看起来像您想要的函数)。 IDA Pro 等软件是您的最佳选择。

Simplest way: Use the debug symbols.

If there are no symbols, you're going to have to figure out where your functions are the hard way (reverse compile, find entry points, find function which looks like the one you want). Software such as IDA Pro is your best bet.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文