x86 PE files include DOS stub with MZ header and some DOS code. But what about other architectures like ARM? Is stub present in any form for those or files are just padded with zeroes to sizeof.IMAGE_DOS_HEADER?
Joined: 16 Jun 2003
Location: Kraków, Poland
PE specification states that it a valid MS-DOS application is expected there, but since chances of anyone trying to execute such file in MS-DOS are very small, you do not have to worry whether it really runs, just keep an MZ header that looks more or less correct. In fasm you get such effect with
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum