1 RUN: llvm-readobj --coff-load-config %S/Inputs/coff-load-config-x86.dll | FileCheck %s --check-prefix=X86
2 RUN: llvm-readobj --coff-load-config %S/Inputs/coff-load-config-x64.dll | FileCheck %s --check-prefix=X64
4 RUN: llvm-readobj --coff-load-config %S/Inputs/coff-load-config-data-end.exe | FileCheck %s --check-prefix=DATAEND
6 RUN: llvm-readobj --coff-load-config %S/Inputs/coff-no-load-config.exe | FileCheck %s --check-prefix=NOCONFIG
10 X86: TimeDateStamp: 1970-01-01 00:00:00 (0x0)
11 X86: MajorVersion: 0x0
12 X86: MinorVersion: 0x0
13 X86: GlobalFlagsClear: 0x0
14 X86: GlobalFlagsSet: 0x0
15 X86: CriticalSectionDefaultTimeout: 0x0
16 X86: DeCommitFreeBlockThreshold: 0x0
17 X86: DeCommitTotalFreeThreshold: 0x0
18 X86: LockPrefixTable: 0x0
19 X86: MaximumAllocationSize: 0x0
20 X86: VirtualMemoryThreshold: 0x0
21 X86: ProcessHeapFlags: 0x0
22 X86: ProcessAffinityMask: 0x0
24 X86: DependentLoadFlags: 0x0
26 X86: SecurityCookie: 0x10003004
27 X86: SEHandlerTable: 0x100021C0
28 X86: SEHandlerCount: 2
29 X86: GuardCFCheckFunction: 0x1000207C
30 X86: GuardCFCheckDispatch: 0x0
31 X86: GuardCFFunctionTable: 0x100020A4
32 X86: GuardCFFunctionCount: 11
33 X86: GuardFlags [ (0x13500)
34 X86: CF_FUNCTION_TABLE_PRESENT (0x400)
35 X86: CF_INSTRUMENTED (0x100)
36 X86: CF_LONGJUMP_TABLE_PRESENT (0x10000)
37 X86: DELAYLOAD_IAT_IN_ITS_OWN_SECTION (0x2000)
38 X86: PROTECT_DELAYLOAD_IAT (0x1000)
61 X64: TimeDateStamp: 1970-01-01 00:00:00 (0x0)
62 X64: MajorVersion: 0x0
63 X64: MinorVersion: 0x0
64 X64: GlobalFlagsClear: 0x0
65 X64: GlobalFlagsSet: 0x0
66 X64: CriticalSectionDefaultTimeout: 0x0
67 X64: DeCommitFreeBlockThreshold: 0x0
68 X64: DeCommitTotalFreeThreshold: 0x0
69 X64: LockPrefixTable: 0x0
70 X64: MaximumAllocationSize: 0x0
71 X64: VirtualMemoryThreshold: 0x0
72 X64: ProcessHeapFlags: 0x0
73 X64: ProcessAffinityMask: 0x0
75 X64: DependentLoadFlags: 0x0
77 X64: SecurityCookie: 0x180003018
78 X64: SEHandlerTable: 0
79 X64: SEHandlerCount: 0
80 X64: GuardCFCheckFunction: 0x180002100
81 X64: GuardCFCheckDispatch: 0x180002108
82 X64: GuardCFFunctionTable: 0x180002158
83 X64: GuardCFFunctionCount: 9
84 X64: GuardFlags [ (0x13500)
85 X64: CF_FUNCTION_TABLE_PRESENT (0x400)
86 X64: CF_INSTRUMENTED (0x100)
87 X64: CF_LONGJUMP_TABLE_PRESENT (0x10000)
88 X64: DELAYLOAD_IAT_IN_ITS_OWN_SECTION (0x2000)
89 X64: PROTECT_DELAYLOAD_IAT (0x1000)
106 DATAEND-NEXT: 0x402006
109 NOCONFIG: Format: COFF-x86-64
110 NOCONFIG-NOT: LoadConfig