The MASM Forum Archive 2004 to 2012

General Forums => The Campus => Topic started by: anuradha on May 23, 2007, 02:39:44 AM

Title: help on PE
Post by: anuradha on May 23, 2007, 02:39:44 AM
hi can any one tell me what is this PE format means???
thankx
Title: Re: help on PE
Post by: Vortex on May 23, 2007, 05:29:25 AM
Microsoft Portable Executable and Common Object File Format Specification

http://www.microsoft.com/whdc/system/platform/firmware/PECOFF.mspx
Title: Re: help on PE
Post by: Tedd on May 23, 2007, 11:31:06 AM
It's just the 'standard' format of Win32 executables :wink
Title: Re: help on PE
Post by: Vineel Kumar Reddy Kovvuri on May 23, 2007, 07:10:36 PM
hi anuradha

Every file has a structure for example pdf file ,doc file has there own structures governed by their specifications
likewise an exe , dll ,obj e.t.c also has a structure named as PE(Portable Executable) structure

But the thing is all exe ,dll,obj have almost common file format (coff)  so if u all familar with structure of exe file then
u r also familar with dll and obj.....

look brief look at PE format

(http://img509.imageshack.us/img509/3053/pedr8.png) (http://imageshack.us)



the link posted by vortex is the ultimate resource which describes each and every field  of a PE(any exe or dll...)
file . But the problem with that specification is ... it does n't demonstrate how to retrieve each field of a PE file
i.e.., it doesn't programatically show how to know about ...what a PE file actually contain.

if u r familar with C and a concept called memory mapped files the attament to this post will help u understand
the structure in detail and i strongly recommend the PE specification pointed by vortex





[attachment deleted by admin]
Title: Re: help on PE
Post by: anuradha on May 25, 2007, 12:11:58 PM
thanks you all.  :U :U :U :U :U :U