Explain PE file format in .NET

PE represents a Portable Executable. Windows executable record (.EXE ) and DLL (Dynamic Link Library) pursue the PE document group. This is subordinate of the Microsoft Common Object File Format (COFF).

A .NET PE document group comprises 4 sections:

  1. PE/COFF headers
  2. CLR header
  3. CLR information
    1. Metadata
    2. MSIL code
  4. Native image section
Explain PE file format in .NET
  • COFF header contains data with respect to exe or dll record.
  • CLR header contains data about CLR how to oversee memory, different kinds of a stuff identified with CLR.
  • CLR information contains metadata of DDLs and MSIL code created by compilers.
  • Also, last piece of PE group contains local picture area like .information, .rdata, .rsrc, .content and so forth.

Any compiler that needs to create Windows executable document must pursue the PE/COFF determination.

Leave a Comment

error: Alert: Content is protected!!