brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.6 KiB · 2708c2e Raw
50 lines · plain
1# RUN: yaml2obj %s -o %t2# RUN: not llvm-ifs --input-format=ELF --output-ifs=%t.tbe %t 2>&1 | FileCheck %s3 4!ELF5FileHeader:6  Class:           ELFCLASS647  Data:            ELFDATA2LSB8  Type:            ET_DYN9  Machine:         EM_X86_6410Sections:11  - Name:            .dynstr12    Type:            SHT_STRTAB13    Flags:           [ SHF_ALLOC ]14    Address:         0x100015    #                "\0libfoo.so\0libbar.so\0somelib.so\0foo\0"16    Content:         "006c6962666f6f2e736f006c69626261722e736f00736f6d656c69622e736f00666f6f00"17  - Name:            .dynamic18    Type:            SHT_DYNAMIC19    Flags:           [ SHF_ALLOC ]20    Address:         0x000000000000102421    EntSize:         0x000000000000001022    Entries:23      - Tag:             DT_NEEDED24        Value:           0x000000000000000125      - Tag:             DT_SONAME26        Value:           0x000000000000001527      # Bad DT_NEEDED entry (offset outside string table):28      - Tag:             DT_NEEDED29        Value:           0x000000000000FFFF30      - Tag:             DT_STRSZ31        Value:           0x000000000000002432      - Tag:             DT_STRTAB33        Value:           0x000000000000100034      - Tag:             DT_SYMTAB35        Value:           0x000000000000100036      - Tag:             DT_NULL37        Value:           0x000000000000000038ProgramHeaders:39  - Type:     PT_LOAD40    Flags:    [ PF_R ]41    VAddr:    0x100042    Align:    843    FirstSec: .dynstr44    LastSec:  .dynamic45  - Type:  PT_DYNAMIC46    Flags: [ PF_X, PF_R ]47    VAddr: 0x102448 49# CHECK: DT_NEEDED string offset (0x000000000000ffff) outside of dynamic string table50