Upload
kim-dongju
View
85
Download
2
Tags:
Embed Size (px)
Citation preview
EXE’s CodeAssembly code
from High-level Language
Start-up code
Ready-made code(by Compiler)
etc
Data
EXE’s Header
Something which OS need
Identification
Code Information
Information about Import/Exported func
etc
EXE’s Header -Code Information-
Code’s base and Entry-point
Code is divided into many sections
Section for assembly-code
Section for data: static variables
Section for resource
Section for import/export
How pe file run
First, OS loads pe-file on memory
Second, Resolve Import-information
Third, Go to Entry Point
???
PROFIT!
How pe file run -load-
In hard disk On memory
Section 1
Section 2
Section 3
Section 1
Section 2
Section 3