• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# REQUIRES: lld
2# RUN: yaml2obj %s -o %t.obj
3# RUN: lldb-test object-file %t.obj | FileCheck %s
4
5# CHECK-DAG: UUID: 14B292E0-D81A-B4F1-4C4C-44205044422E-00000001
6
7--- !COFF
8OptionalHeader:  
9  AddressOfEntryPoint: 0
10  ImageBase:       2147483648
11  SectionAlignment: 4096
12  FileAlignment:   512
13  MajorOperatingSystemVersion: 6
14  MinorOperatingSystemVersion: 0
15  MajorImageVersion: 0
16  MinorImageVersion: 0
17  MajorSubsystemVersion: 6
18  MinorSubsystemVersion: 0
19  Subsystem:       IMAGE_SUBSYSTEM_WINDOWS_GUI
20  DLLCharacteristics: [ IMAGE_DLL_CHARACTERISTICS_HIGH_ENTROPY_VA, IMAGE_DLL_CHARACTERISTICS_DYNAMIC_BASE, IMAGE_DLL_CHARACTERISTICS_NX_COMPAT ]
21  SizeOfStackReserve: 1048576
22  SizeOfStackCommit: 4096
23  SizeOfHeapReserve: 1048576
24  SizeOfHeapCommit: 4096
25  ExportTable:     
26    RelativeVirtualAddress: 8327
27    Size:            90
28  ImportTable:     
29    RelativeVirtualAddress: 0
30    Size:            0
31  ResourceTable:   
32    RelativeVirtualAddress: 0
33    Size:            0
34  ExceptionTable:  
35    RelativeVirtualAddress: 12288
36    Size:            12
37  CertificateTable: 
38    RelativeVirtualAddress: 0
39    Size:            0
40  BaseRelocationTable: 
41    RelativeVirtualAddress: 0
42    Size:            0
43  Debug:           
44    RelativeVirtualAddress: 8192
45    Size:            28
46  Architecture:    
47    RelativeVirtualAddress: 0
48    Size:            0
49  GlobalPtr:       
50    RelativeVirtualAddress: 0
51    Size:            0
52  TlsTable:        
53    RelativeVirtualAddress: 0
54    Size:            0
55  LoadConfigTable: 
56    RelativeVirtualAddress: 0
57    Size:            0
58  BoundImport:     
59    RelativeVirtualAddress: 0
60    Size:            0
61  IAT:             
62    RelativeVirtualAddress: 0
63    Size:            0
64  DelayImportDescriptor: 
65    RelativeVirtualAddress: 0
66    Size:            0
67  ClrRuntimeHeader: 
68    RelativeVirtualAddress: 0
69    Size:            0
70header:          
71  Machine:         IMAGE_FILE_MACHINE_AMD64
72  Characteristics: [ IMAGE_FILE_EXECUTABLE_IMAGE, IMAGE_FILE_LARGE_ADDRESS_AWARE, IMAGE_FILE_DLL ]
73sections:        
74  - Name:            .text
75    Characteristics: [ IMAGE_SCN_CNT_CODE, IMAGE_SCN_MEM_EXECUTE, IMAGE_SCN_MEM_READ ]
76    VirtualAddress:  4096
77    VirtualSize:     22
78    SectionData:     50894C24048B4C24040FAF4C2404890C248B042459C3
79  - Name:            .rdata
80    Characteristics: [ IMAGE_SCN_CNT_INITIALIZED_DATA, IMAGE_SCN_MEM_READ ]
81    VirtualAddress:  8192
82    VirtualSize:     236
83    SectionData:     00000000A565B65C00000000020000006B0000001C2000001C06000052534453E092B2141AD8F1B44C4C44205044422E01000000443A5C757073747265616D5C6275696C645C746F6F6C735C6C6C64625C6C69745C4D6F64756C65735C5045434F46465C4F75747075745C6578706F72742D646C6C66756E632E79616D6C2E746D702E70646200000000000000000000000000AF200000000000000200000001000000CB200000D3200000D72000006578706F72742D646C6C66756E632E79616D6C2E746D702E646C6C000000000000100000D92000000100446C6C46756E63000000000101010001020000
84  - Name:            .pdata
85    Characteristics: [ IMAGE_SCN_CNT_INITIALIZED_DATA, IMAGE_SCN_MEM_READ ]
86    VirtualAddress:  12288
87    VirtualSize:     12
88    SectionData:     '0010000016100000E4200000'
89symbols:         []
90...
91