George Rimar
4496f07497
[llvm-readelf] - Report a warning when .hash section contains a chain with a cycle.
...
It is possible to craft a .hash section that triggers an infinite loop
in llvm-readelf code. This patch fixes the issue and introduces
a warning.
Differential revision: https://reviews.llvm.org/D68086
llvm-svn: 373476
2019-10-02 14:11:35 +00:00
George Rimar
ce2ef288b2
[llvm-readelf] - A fix for: "--hash-symbols asserts for 64-bit ELFs"
...
Fixes https://bugs.llvm.org/show_bug.cgi?id=42622 .
(--hash-symbols switch is currently broken for 64-bit ELF files, due to r352630.)
Differential revision: https://reviews.llvm.org/D64788
llvm-svn: 366558
2019-07-19 10:15:03 +00:00
George Rimar
37d7cb2df0
[llvm-readelf] - Remove the precompiled binary from gnu-hash-symbols.test
...
I am working on https://bugs.llvm.org/show_bug.cgi?id=42622
and this patch reworks the gnu-hash-symbols.test so that it
will be easier to expand it with x86_64 case.
Differential revision: https://reviews.llvm.org/D64750
llvm-svn: 366430
2019-07-18 12:14:36 +00:00