File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

PE file

 
abalfazl hossein
Ranch Hand
Posts: 635
  • 0
  • Mark post as helpful
  • send pies
  • 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?
 
Paul Clapham
Sheriff
Pie
Posts: 20196
26
MySQL Database
  • 0
  • Mark post as helpful
  • send pies
  • 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).
 
Stephan van Hulst
Bartender
Pie
Posts: 4846
34
Chrome Netbeans IDE Windows
  • 0
  • Mark post as helpful
  • send pies
  • 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
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


May you explain about "Sections" and "Image info" in this image?
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • 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.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic