在ollydbg中打开PE二进制文件时如何查看完整的反汇编代码?

发布于 2024-09-24 14:12:06 字数 529 浏览 11 评论 0原文

我用ollydbg打开cstrike.exe(游戏《反恐精英》),但反汇编代码不完整,它从01401000开始,到0140BFFF停止code>(我的意思是它至少应该从 00000000 开始才能完整,而且我不能确定 0140BFFF 是确切的结尾还是只是一个被剥离的部分)

01401000   . E8 05000000    CALL cstrike.0140100A
01401005   . E9 0A000000    JMP cstrike.01401014
0140100A   $ B9 90134101    MOV ECX,cstrike.01411390
...
0140BFFD     00             DB 00
0140BFFE     00             DB 00
0140BFFF     00             DB 00

如何让 OD 显示 PE 二进制文件的所有细节?

I opened cstrike.exe(for game Counter Strike) with ollydbg, but the disassembly code isn't complete,it starts at 01401000 and stops at 0140BFFF(I mean it should at least start from 00000000 to be complete, and I can't say for sure whether 0140BFFF is the exact end or just a stripped part)

01401000   . E8 05000000    CALL cstrike.0140100A
01401005   . E9 0A000000    JMP cstrike.01401014
0140100A   $ B9 90134101    MOV ECX,cstrike.01411390
...
0140BFFD     00             DB 00
0140BFFE     00             DB 00
0140BFFF     00             DB 00

How can I make OD show all the nitty-gritty details of the PE binary?

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

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

发布评论

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

评论(2

九歌凝 2024-10-01 14:12:06

首先,00000000 处没有任何内容

。其次,OD 在反汇编窗口中显示一个内存区域。
打开内存窗口(alt+M)以查看所有内存区域。
或者使用 ctrl-G 到达所需的内存地址。

First, there is nothing at 00000000

Second, OD shows one memory region in disassembly window.
Open memory window (alt+M) to see all memory regions.
Or use ctrl-G to get to desired memory address.

倾城月光淡如水﹏ 2024-10-01 14:12:06

当您启动 exe 文件操作系统时,分析您的代码并将其放入内存中。

exe 的一部分告诉操作系统代码的大小、数据的大小和其他信息。这部分位于代码的开头,名为 header 部分

还有代码部分数据部分导入和导出部分资源部分

4000的地址由标头部分设置。

when you start exe file operation system analyze your code and put it on memory.

part of your exe tell OS size of your code ,size of your data and other information. this part is on beginning of your code and named header section.

also you have code section, data section , import and export section and resource section.

address of 4000 is set by header section.

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