• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

PE file

 
Ranch Hand
Posts: 635
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

A PE file consists of a number of headers and sections that tell the dynamic linker how to map the file into memory


What are headers and sections?
 
Marshal
Posts: 28193
95
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I don't know anything about PE files, never heard of them. However a "header" is some data that appears at or near the beginning of a file. A "section" is a part of a file which can be treated as a unit (sort of like the "sections" you get when you peel an orange).
 
Saloon Keeper
Posts: 15510
363
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Well, if I'm not mistaken, PE is the file format for windows NT executables. Sections are parts of the file that describe either code or different types of data. Sections have different permissions or attributes associated with them.
 
abalfazl hossein
Ranch Hand
Posts: 635
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator


May you explain about "Sections" and "Image info" in this image?
 
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Looks like you are looking at word.exe. The Image Info describes the header for the EXE file - if you open word.exe with a hex editor you can find the same information in the first X bytes (I used to know what X was, 128? 256? but don't recall). And EXE (and a DLL) file are divided up into various sections into which different things are placed. Things such as the opcodes, text strings and images used by the program.

Go to the MSDN web site, there should be documentation there on how an EXE/DLL file is laid out.
 
reply
    Bookmark Topic Watch Topic
  • New Topic