[PATCH] D79013: [llvm-readelf] - Do not crash when the PT_INTERP has a broken offset.

George Rimar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 29 00:29:48 PDT 2020


grimar marked an inline comment as done.
grimar added inline comments.


================
Comment at: llvm/test/tools/llvm-readobj/ELF/gnu-phdrs.test:316
+
+## ERROR-INTERP1:      Type   Offset
+## ERROR-INTERP1-NEXT: INTERP 0xffffffff
----------------
MaskRay wrote:
> Isn't the test covered by `ERROR-INTERP2`?
Nope. They have different error messages. In this case the offset points past the EOF. In `ERROR-INTERP2` it is withing the file space.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D79013/new/

https://reviews.llvm.org/D79013





More information about the llvm-commits mailing list