GetProcAddress 如何工作

发布于 2024-08-19 05:48:55 字数 85 浏览 2 评论 0原文

我已经做了一些谷歌搜索,但还没有真正找到太多。 GetProcAddress 如何工作?幕后发生了什么?方法名称及其相应的地址是否存储在元数据中的某个位置?

I've done some googling but haven't really found much. How does GetProcAddress work? What goes on behind the scenes? Do the method names and their corresponding address get stored in meta data somewhere?

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

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

发布评论

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

评论(2

夜光 2024-08-26 05:48:55

确切地。它们存储在 DLL/EXE 导出标头中。您可以使用 dumpbin.exe 看到它。

Exactly. They are stored in DLL/EXE export header. You can see it with dumpbin.exe.

神妖 2024-08-26 05:48:55

查找 Matt Pietrek 有关 PE 文件格式的资料或他的书《Windows 95 系统编程秘密》。有很多 GetProcAddress 的自定义实现可以查看。

Look for Matt Pietrek's stuff on PE file format or his book Windows 95 System Programming Secrets. There are bounchs of custom implementatios of GetProcAddress to look in to it.

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