windows/DOS下的可执行文件实际上是这样的:
+-------------------------+
00h | Old-style header info |
+-------------------------+
20h | Reserved |
+-------------------------+
3Ch | Offset to segmented |
| .EXE header |
+-------------------------+
40h | Relocation table and |
| DOS stub program |
+-------------------------+
| Segmented .EXE Header |
| . |
| . |
| . |
这是一类可执行文件的文件头,很复杂,慢慢研究吧。
windows/DOS下的可执行文件实际上是这样的:
+-------------------------+
00h
|
Old-style
header
info
|
+-------------------------+
20h
|
Reserved
|
+-------------------------+
3Ch
|
Offset
to
segmented
|
|
.EXE
header
|
+-------------------------+
40h
|
Relocation
table
and
|
|
DOS
stub
program
|
+-------------------------+
|
Segmented
.EXE
Header
|
|
.
|
|
.
|
|
.
|
这是一类可执行文件的文件头,很复杂,慢慢研究吧。