brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.5 KiB · 230fe4a Raw
49 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#                     \0 b a z\0 s o m e l i b . s o z z z16    Content:         "0062617a00736f6d656c69622e736f7a7a7a"17  - Name:            .dynamic18    Type:            SHT_DYNAMIC19    Flags:           [ SHF_ALLOC ]20    Address:         0x000000000000101821    Link:            .dynstr22    AddressAlign:    0x000000000000000823    EntSize:         0x000000000000001024    Entries:25      - Tag:             DT_SONAME26        Value:           0x000000000000000527      - Tag:             DT_STRSZ28        Value:           0x000000000000000F29      - Tag:             DT_STRTAB30        Value:           0x000000000000100031      - Tag:             DT_SYMTAB32        Value:           0x000000000000100033      - Tag:             DT_NULL34        Value:           0x000000000000000035ProgramHeaders:36  - Type:     PT_LOAD37    Flags:    [ PF_R ]38    VAddr:    0x100039    Align:    840    FirstSec: .dynstr41    LastSec:  .dynamic42  - Type:     PT_DYNAMIC43    Flags:    [ PF_X, PF_R ]44    VAddr:    0x101845    FirstSec: .dynamic46    LastSec:  .dynamic47 48# CHECK: String overran bounds of string table (no null terminator) when reading DT_SONAME49