brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.4 KiB · ffea3ad Raw
51 lines · yaml
1# Test handling of (corrupt?) object files, which have sections with overlapping2# virtual addresses.3#4# Right now the overlapping sections get dropped, but other behaviors5# (including outright rejecting such files) are possible too.6 7# RUN: yaml2obj %s -o %t8# RUN: lldb-test object-file %t | FileCheck %s9 10# CHECK-NOT: .overlap111# CHECK-NOT: .overlap212 13!ELF14FileHeader:15  Class:           ELFCLASS3216  Data:            ELFDATA2LSB17  Type:            ET_EXEC18  Machine:         EM_ARM19Sections:20  - Name:            .sect121    Type:            SHT_PROGBITS22    Flags:           [ SHF_ALLOC ]23    Address:         0x100024    AddressAlign:    0x425    Content:         DEADBEEFBAADF00D26  - Name:            .overlap127    Type:            SHT_PROGBITS28    Flags:           [ SHF_ALLOC ]29    Address:         0x100430    AddressAlign:    0x431    Content:         DEADBEEFBAADF00D32  - Name:            .sect233    Type:            SHT_PROGBITS34    Flags:           [ SHF_ALLOC ]35    Address:         0x200036    AddressAlign:    0x437    Content:         DEADBEEFBAADF00D38  - Name:            .overlap239    Type:            SHT_PROGBITS40    Flags:           [ SHF_ALLOC ]41    Address:         0x200442    AddressAlign:    0x443    Content:         DEADBEEFBAADF00D44ProgramHeaders:45  - Type: PT_LOAD46    Flags: [ PF_X, PF_W, PF_R ]47    VAddr: 0x100048    Align: 0x449    FirstSec: .sect150    LastSec:  .overlap151