50 lines · yaml
1# Test that an overlapping PT_INTERP segment does not cause us to drop the2# subsequent PT_LOAD segment.3 4# RUN: yaml2obj %s -o %t5# RUN: lldb-test object-file %t | FileCheck %s6 7# CHECK: Index: 08# CHECK-NEXT: ID: 0xfffffffffffffffe9# CHECK-NEXT: Name: PT_LOAD[0]10# CHECK-NEXT: Type: container11# CHECK-NEXT: Permissions: rwx12# CHECK-NEXT: Thread specific: no13# CHECK-NEXT: VM address: 0x100014# CHECK-NEXT: VM size: 1215# CHECK-NEXT: File size: 1216# CHECK-NEXT: Showing 2 subsections17 18!ELF19FileHeader:20 Class: ELFCLASS3221 Data: ELFDATA2LSB22 Type: ET_EXEC23 Machine: EM_ARM24Sections:25 - Name: .interp26 Type: SHT_PROGBITS27 Flags: [ SHF_ALLOC ]28 Address: 0x100029 AddressAlign: 0x430 Content: 323231 - Name: .text32 Type: SHT_PROGBITS33 Flags: [ SHF_ALLOC, SHF_EXECINSTR ]34 Address: 0x100435 AddressAlign: 0x436 Content: DEADBEEFBAADF00D37ProgramHeaders:38 - Type: PT_INTERP39 Flags: [ PF_R ]40 VAddr: 0x100041 Align: 0x442 FirstSec: .interp43 LastSec: .interp44 - Type: PT_LOAD45 Flags: [ PF_X, PF_W, PF_R ]46 VAddr: 0x100047 Align: 0x448 FirstSec: .interp49 LastSec: .text50