1 RUN: llvm-readobj --file-headers %p/Inputs/nop.exe.coff-x86-64 | FileCheck %s
3 CHECK: Format: COFF-x86-64
5 CHECK: AddressSize: 64bit
6 CHECK: ImageFileHeader {
7 CHECK: Machine: IMAGE_FILE_MACHINE_AMD64 (0x8664)
9 CHECK: TimeDateStamp: 2014-01-26 03:43:56 (0x52E4847C)
10 CHECK: PointerToSymbolTable: 0x0
12 CHECK: OptionalHeaderSize: 240
13 CHECK: Characteristics [ (0x22)
14 CHECK: IMAGE_FILE_EXECUTABLE_IMAGE (0x2)
15 CHECK: IMAGE_FILE_LARGE_ADDRESS_AWARE (0x20)
18 CHECK: ImageOptionalHeader {
20 CHECK: MajorLinkerVersion: 11
21 CHECK: MinorLinkerVersion: 0
22 CHECK: SizeOfCode: 512
23 CHECK: SizeOfInitializedData: 0
24 CHECK: SizeOfUninitializedData: 0
25 CHECK: AddressOfEntryPoint: 0x1000
26 CHECK: BaseOfCode: 0x1000
27 CHECK: ImageBase: 0x140000000
28 CHECK: SectionAlignment: 4096
29 CHECK: FileAlignment: 512
30 CHECK: MajorOperatingSystemVersion: 6
31 CHECK: MinorOperatingSystemVersion: 0
32 CHECK: MajorImageVersion: 0
33 CHECK: MinorImageVersion: 0
34 CHECK: MajorSubsystemVersion: 6
35 CHECK: MinorSubsystemVersion: 0
36 CHECK: SizeOfImage: 8192
37 CHECK: SizeOfHeaders: 512
38 CHECK: Subsystem: IMAGE_SUBSYSTEM_WINDOWS_CUI (0x3)
39 CHECK: Characteristics [ (0x8160)
40 CHECK: IMAGE_DLL_CHARACTERISTICS_DYNAMIC_BASE (0x40)
41 CHECK: IMAGE_DLL_CHARACTERISTICS_HIGH_ENTROPY_VA (0x20)
42 CHECK: IMAGE_DLL_CHARACTERISTICS_NX_COMPAT (0x100)
43 CHECK: IMAGE_DLL_CHARACTERISTICS_TERMINAL_SERVER_AWARE (0x8000)
45 CHECK: SizeOfStackReserve: 1048576
46 CHECK: SizeOfStackCommit: 4096
47 CHECK: SizeOfHeapReserve: 1048576
48 CHECK: SizeOfHeapCommit: 4096
49 CHECK: NumberOfRvaAndSize: 16
50 CHECK: DataDirectory {
51 CHECK: ExportTableRVA: 0x0
52 CHECK: ExportTableSize: 0x0
53 CHECK: ImportTableRVA: 0x0
54 CHECK: ImportTableSize: 0x0
55 CHECK: ResourceTableRVA: 0x0
56 CHECK: ResourceTableSize: 0x0
57 CHECK: ExceptionTableRVA: 0x0
58 CHECK: ExceptionTableSize: 0x0
59 CHECK: CertificateTableRVA: 0x0
60 CHECK: CertificateTableSize: 0x0
61 CHECK: BaseRelocationTableRVA: 0x0
62 CHECK: BaseRelocationTableSize: 0x0
65 CHECK: ArchitectureRVA: 0x0
66 CHECK: ArchitectureSize: 0x0
67 CHECK: GlobalPtrRVA: 0x0
68 CHECK: GlobalPtrSize: 0x0
69 CHECK: TLSTableRVA: 0x0
70 CHECK: TLSTableSize: 0x0
71 CHECK: LoadConfigTableRVA: 0x0
72 CHECK: LoadConfigTableSize: 0x0
73 CHECK: BoundImportRVA: 0x0
74 CHECK: BoundImportSize: 0x0
77 CHECK: DelayImportDescriptorRVA: 0x0
78 CHECK: DelayImportDescriptorSize: 0x0
79 CHECK: CLRRuntimeHeaderRVA: 0x0
80 CHECK: CLRRuntimeHeaderSize: 0x0
81 CHECK: ReservedRVA: 0x0
82 CHECK: ReservedSize: 0x0