gpt4 book ai didi

file-format - PEI 格式是什么?

转载 作者:行者123 更新时间:2023-12-04 03:06:36 24 4
gpt4 key购买 nike

我知道PE是COFF的修改版,PE+是PE的64位支持的修改版,但是PEI是什么?我说 PE 和 PEI 之间没有区别并且它们可以互换使用是否正确?

最佳答案

"The sole difference between the pe format and the pei format is that the latter has an MSDOS 2.0 .exe header on the front that prints the message "This app must be run under Windows." (or some such). (FIXME: Whether that statement is really true or not is unknown. Are there more subtle differences between pe and pei formats? For now assume there aren't. If you find one, then for God sakes document it here!)

The Microsoft docs use the word "image" instead of "executable" because the former can also refer to a DLL (shared library). Confusion can arise because the i' inpei' also refers to "image". The `pe' format can also create images (i.e. executables), it's just that to run on a win32 system you need to use the pei format."



来源 :

http://www.opensource.apple.com/source/gdb/gdb-1515/src/bfd/libpei.h

关于file-format - PEI 格式是什么?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27847741/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com