diff options
author | Tuomas Tynkkynen <tuomas@tuxera.com> | 2017-04-19 14:22:23 (GMT) |
---|---|---|
committer | Tuomas Tynkkynen <tuomas@tuxera.com> | 2017-04-19 14:33:33 (GMT) |
commit | daaffbe7f3e4e1ec0052f8d6ce153cd7f5fdeb76 (patch) | |
tree | 9c7835d0b5ec5babbfd27293f056f11034265223 /COPYING | |
parent | bfc3db32d26cbf6d1aa96aa0fd9a82aa5576ba17 (diff) | |
download | patchelf-daaffbe7f3e4e1ec0052f8d6ce153cd7f5fdeb76.zip patchelf-daaffbe7f3e4e1ec0052f8d6ce153cd7f5fdeb76.tar.gz patchelf-daaffbe7f3e4e1ec0052f8d6ce153cd7f5fdeb76.tar.bz2 |
Give a better error message if the file lacks a section header table
Currently, patchelf outputs this when run on a UPX-compressed ELF file:
patchelf: patchelf.cc:420: ElfFile<Elf_Ehdr, Elf_Phdr, Elf_Shdr, Elf_Addr, Elf_Off, Elf_Dyn, Elf_Sym, Elf_Verneed>::ElfFile(FileContents): Assertion `shstrtabIndex < shdrs.size()' failed.
Make it give a nicer error message:
patchelf: no section headers. The input file is probably a statically linked, self-decompressing binary
Fixes #63
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions