SizeOfImage calculation for PECOFF

DJ Delorie dj@delorie.com
Tue Mar 26 14:52:00 GMT 2002


> ... Size, in bytes, of image, including all headers; must be a multiple 
> of section alignment. ...

It's not clear if they're talking about the file image or the memory
image, though.  There aren't any headers in a memory image, and the
calculations are correct for a file image.  Can anyone generate a PEI
image with MSVC that has big holes in it, and see what it does?



More information about the Binutils mailing list