[PATCH] D63084: [llvm-readobj] Don't abort printing of dynamic table if string reference is invalid

Yuanfang Chen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 10 11:04:01 PDT 2019


tabloid.adroit created this revision.
tabloid.adroit added reviewers: jhenderson, grimar, MaskRay.
Herald added subscribers: llvm-commits, rupprecht.
Herald added a project: LLVM.

If dynamic table is missing, output "dynamic strtab not found'. If the index is
out of range, output "Invalid Offset<..>".

https://bugs.llvm.org/show_bug.cgi?id=40807


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D63084

Files:
  llvm/test/Object/Inputs/corrupt-invalid-strtab.elf.x86-64
  llvm/test/Object/corrupt.test
  llvm/test/tools/llvm-readobj/elf-dynamic-malformed.test
  llvm/tools/llvm-readobj/ELFDumper.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D63084.203863.patch
Type: text/x-patch
Size: 9204 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190610/b3bc84e6/attachment.bin>


More information about the llvm-commits mailing list