windows - .rdata 和 .idata 段有什么区别?

标签 windows reverse-engineering portable-executable

我在IDA中注意到,我分析的PE文件不仅有.rdata部分,还有.idata部分。有什么区别?

最佳答案

总结典型的段名称:

.text: Code 
.data: Initialized data
.bss: Uninitialized data
.rdata: Const/read-only (and initialized) data
.edata: Export descriptors
.idata: Import descriptors
.reloc: Relocation table (for code instructions with absolute addressing when
          the module could not be loaded at its preferred base address)
.rsrc: Resources (icon, bitmap, dialog, ...)
.tls: __declspec(thread) data (Fails with dynamically loaded DLLs -> hard to find bugs)

正如 Martin Rosenau 所提到的,分割名称只是典型的。真正的段类型在段 header 中指定或由存储在段中的数据的使用定义。

关于windows - .rdata 和 .idata 段有什么区别?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19012300/

相关文章:

c# - 如何使 c#.net 应用程序可移植

c++ - 如何设置窗口的默认位置?

windows - 如何测量 TreeView 项目中文本的可用宽度?

c++ - 转换 "application's"内存地址

console - 如何修改exe使其控制台窗口隐藏?

windows - Win32 堆栈部分基地址

Windows cmd shell : if-then-else weirdness for block statements

python - 更改anaconda中的默认环境

c++ - GDB 打印没有调试符号的 STL(例如 std::vector)

assembly - MSP430 中的 sxt 指令到底有什么作用?