执行部分

发布于 2024-08-29 03:11:14 字数 52 浏览 3 评论 0 原文

如何在 exe 文件中检索 IP 开头所指向的点? 它是否始终指向 .text 段的开头?

How can I retrieve in exe file point where IP is pointing to on the beginning ??
Is it pointing always on the start of .text segment ?

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

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

发布评论

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

评论(2

看透却不说透 2024-09-05 03:11:14

查看 IMAGE_OPTIONAL_HEADERAddressOfEntryPoint 成员(请参阅 http://msdn.microsoft.com/en-us/library/ms680339.aspx)或启动 dumpbin.exe My.exe /headers 并查看“输出的“OPTIONAL HEADER VALUES”部分中的“入口点”(从开头算起的第 6 行)。

Look at AddressOfEntryPoint member of the IMAGE_OPTIONAL_HEADER (see http://msdn.microsoft.com/en-us/library/ms680339.aspx) or start dumpbin.exe My.exe /headers and look at "entry point" in the "OPTIONAL HEADER VALUES" part of the output (6-th line from the beginning).

月隐月明月朦胧 2024-09-05 03:11:14

在大多数情况下,IP 指向.text 部分。但这不是PE规范的要求。当 PE 部分被加密或压缩(如使用 UPX)时,IP 将被重定向到代理。顺便说一句,PE规范还暗示了Sections的名称没有标准化的事实。某些程序具有“不寻常”的部分名称(例如 Exeinfo PE)。

In most cases, IP points to the .text section. But this is not a requirement of the PE Specification. When a PE Section has been encrypted or compressed (like using UPX), IP is redirected to a proxy. By the way, the PE specification also gives a hint about the fact that the name of the Sections are not standardized. Some programs have 'unusual' sections names (e.g. Exeinfo PE).

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