• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# RUN: yaml2obj %s -o %t
2# RUN: lldb-test object-file %t | FileCheck %s
3
4# CHECK: Name: .text{{$}}
5# CHECK: Name: 1234567{{$}}
6# CHECK: Name: 12345678{{$}}
7# CHECK: Name: 123456789{{$}}
8
9--- !COFF
10OptionalHeader:
11  AddressOfEntryPoint: 4616
12  ImageBase:       1073741824
13  SectionAlignment: 4096
14  FileAlignment:   512
15  MajorOperatingSystemVersion: 6
16  MinorOperatingSystemVersion: 0
17  MajorImageVersion: 0
18  MinorImageVersion: 0
19  MajorSubsystemVersion: 6
20  MinorSubsystemVersion: 0
21  Subsystem:       IMAGE_SUBSYSTEM_WINDOWS_CUI
22  DLLCharacteristics: [ IMAGE_DLL_CHARACTERISTICS_HIGH_ENTROPY_VA, IMAGE_DLL_CHARACTERISTICS_DYNAMIC_BASE, IMAGE_DLL_CHARACTERISTICS_NX_COMPAT, IMAGE_DLL_CHARACTERISTICS_TERMINAL_SERVER_AWARE ]
23  SizeOfStackReserve: 1048576
24  SizeOfStackCommit: 4096
25  SizeOfHeapReserve: 1048576
26  SizeOfHeapCommit: 4096
27header:
28  Machine:         IMAGE_FILE_MACHINE_AMD64
29  Characteristics: [ IMAGE_FILE_EXECUTABLE_IMAGE, IMAGE_FILE_LARGE_ADDRESS_AWARE ]
30sections:
31  - Name:            .text
32    Characteristics: [ IMAGE_SCN_CNT_CODE, IMAGE_SCN_MEM_EXECUTE, IMAGE_SCN_MEM_READ ]
33    VirtualAddress:  4096
34    VirtualSize:     64 # '@', if it makes its way into the name field
35    SectionData:     DEADBEEFBAADF00D
36  - Name:            1234567
37    Characteristics: [ IMAGE_SCN_CNT_INITIALIZED_DATA, IMAGE_SCN_MEM_READ ]
38    VirtualAddress:  442368
39    VirtualSize:     64
40    SectionData:     DEADBEEFBAADF00D
41  - Name:            12345678
42    Characteristics: [ IMAGE_SCN_CNT_INITIALIZED_DATA, IMAGE_SCN_MEM_READ ]
43    VirtualAddress:  446464
44    VirtualSize:     64
45    SectionData:     DEADBEEFBAADF00D
46  - Name:            123456789
47    Characteristics: [ IMAGE_SCN_CNT_INITIALIZED_DATA, IMAGE_SCN_MEM_READ ]
48    VirtualAddress:  450560
49    VirtualSize:     64
50    SectionData:     DEADBEEFBAADF00D
51symbols:         []
52...
53