PIMAGE_SECTION_HEADER VirtualAddress和PointerToRawData字段

时间:2012-03-16 04:14:01

标签: windows executable exe portable-executable

可移植可执行文件中IMAGE_SECTION_HEADER结构(在WinNt.h中声明)的VirtualAddress和PointerToRawData字段之间的差异是什么?为什么我们有这两个不同的字段,它们的含义是什么?

1 个答案:

答案 0 :(得分:3)

PointerToRawData告诉您代码/数据在文件中的位置。 VirtualAddress是应该在内存中加载的地方。