1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 03:02:36 +01:00
llvm-mirror/include
Georgii Rymar dc0839500a [llvm-readobj] - Do not crash when an invalid .eh_frame_hdr is dumped using --unwind.
When the p_offset/p_filesz of the PT_GNU_EH_FRAME is invalid
(e.g larger than the file size) then llvm-readobj might crash.

This patch fixes the issue. I've introduced `ELFFile<ELFT>::getSegmentContent`
method, which is very similar to `ELFFile<ELFT>::getSectionContentsAsArray` one.

Differential revision: https://reviews.llvm.org/D80380
2020-05-27 16:41:09 +03:00
..
llvm [llvm-readobj] - Do not crash when an invalid .eh_frame_hdr is dumped using --unwind. 2020-05-27 16:41:09 +03:00
llvm-c [SVE] Restore broken LLVM-C ABI compatability 2020-05-15 11:50:24 -07:00