Splitted out from D85519.
Currently we report "PT_DYNAMIC segment offset + size exceeds the size of the file",
this changes it to
"PT_DYNAMIC segment offset (0x1234) + file size (0x5678) exceeds the size of the file (0x68ab)"
Paths
| Differential D85654
[llvm-readobj/elf] - Refine the warning about the broken PT_DYNAMIC segment. ClosedPublic Authored by grimar on Aug 10 2020, 8:00 AM.
Details Summary Splitted out from D85519. Currently we report "PT_DYNAMIC segment offset + size exceeds the size of the file",
Diff Detail
Event TimelineComment Actions
The example needs a change. 0x1234+0x5678 < 0x9abc This revision is now accepted and ready to land.Aug 13 2020, 9:33 PM Closed by commit rG6567f822160e: [llvm-readobj/elf] - Refine the warning about the broken PT_DYNAMIC segment. (authored by grimar). · Explain WhyAug 17 2020, 4:57 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 285968 llvm/test/Object/invalid.test
llvm/test/tools/llvm-readobj/ELF/malformed-pt-dynamic.test
llvm/tools/llvm-readobj/ELFDumper.cpp
|