About the magic number of PE

邮差的信 提交于 2019-12-11 01:19:45

问题


0x10b : PE32 executable
0×107 : ROM image
0x20b : PE32+ (64 bit) executable

What is the ROM image?


回答1:


Interesting question, I've dabbled with manipulating PE files but never noticed that.

Here's what I believe they are used for: A ROM image can be executed 'in place' (XIP), if you search MSDN for "rom image", you'll find a number of references to it in the Windows Mobile and older Windows CE tools, e.g. Rom Image Creation.

A ROM image can thus be executed directly from the ROM without having to load and relocate it in RAM, which is pretty handy for a mobile device with limited resources.



来源:https://stackoverflow.com/questions/3757512/about-the-magic-number-of-pe

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!