[PATCH] D68771: [llvm-readelf] - Do not enter an infinite loop when printing histogram.
George Rimar via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 10 02:49:53 PDT 2019
grimar created this revision.
grimar added reviewers: MaskRay, rupprecht.
Herald added a subscriber: seiya.
This is similar to D68086 <https://reviews.llvm.org/D68086>.
We are entering an infinite loop when dumping a histogram for a specially crafted
.hash section with a loop in a chain.
https://reviews.llvm.org/D68771
Files:
test/tools/llvm-readobj/elf-hash-histogram.test
tools/llvm-readobj/ELFDumper.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D68771.224291.patch
Type: text/x-patch
Size: 5328 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191010/f7abb6ef/attachment.bin>
More information about the llvm-commits
mailing list