1 # invalid-phdr.elf is generated by creating a simple elf file with yaml2obj:
11 # Flags: [ SHF_ALLOC, SHF_EXECINSTR ]
12 # AddressAlign: 0x0000000000001000
16 # Flags: [ PF_X, PF_R ]
22 # Then editing the e_phoff in with a hexeditor to set it to 0xffffff
23 RUN: not llvm-objdump -private-headers %p/Inputs/invalid-phdr.elf 2>&1 \
26 CHECK: LLVM ERROR: program headers longer than binary