-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathIMAGE_DOS_HEADER.cs
More file actions
37 lines (37 loc) · 2.09 KB
/
IMAGE_DOS_HEADER.cs
File metadata and controls
37 lines (37 loc) · 2.09 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
namespace PE2PDBUrl
{
public struct IMAGE_DOS_HEADER
{
public ushort e_magic; // Magic number
public ushort e_cblp; // Bytes on last page of file
public ushort e_cp; // Pages in file
public ushort e_crlc; // Relocations
public ushort e_cparhdr; // Size of header in paragraphs
public ushort e_minalloc; // Minimum extra paragraphs needed
public ushort e_maxalloc; // Maximum extra paragraphs needed
public ushort e_ss; // Initial (relative) SS value
public ushort e_sp; // Initial SP value
public ushort e_csum; // Checksum
public ushort e_ip; // Initial IP value
public ushort e_cs; // Initial (relative) CS value
public ushort e_lfarlc; // File address of relocation table
public ushort e_ovno; // Overlay number
public ushort e_res_0; // Reserved words
public ushort e_res_1; // Reserved words
public ushort e_res_2; // Reserved words
public ushort e_res_3; // Reserved words
public ushort e_oemid; // OEM identifier (for e_oeminfo)
public ushort e_oeminfo; // OEM information; e_oemid specific
public ushort e_res2_0; // Reserved words
public ushort e_res2_1; // Reserved words
public ushort e_res2_2; // Reserved words
public ushort e_res2_3; // Reserved words
public ushort e_res2_4; // Reserved words
public ushort e_res2_5; // Reserved words
public ushort e_res2_6; // Reserved words
public ushort e_res2_7; // Reserved words
public ushort e_res2_8; // Reserved words
public ushort e_res2_9; // Reserved words
public uint e_lfanew; // File address of new exe header
}
}