What is the MZ signature in a PE file for?
问题 I'm working on a program that will parse a PE object for various pieces of information. Reading the specifications though, I cannot find out why the MZ bytes are there, as I cannot find this on the list of machine types that these 2 bytes are supposed to represent. Can anyone clarify? 回答1: The MZ signature is a signature used by the MS-DOS relocatable 16-bit EXE format. The reason a PE binary contains an MZ header is for backwards compatibility. If the executable is run on a DOS-based system