1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 10:42:39 +01:00
llvm-mirror/tools/llvm-readobj
Georgii Rymar bfaa7a77d4 [llvm-readobj] - Do not crash when SHT_HASH table is broken.
We have scenarios when the logic of --elf-hash-histogram/--hash-symbols/--hash-table
options might crash when given a broken hash table.

This patch adds pre-checks for tables for these 3 options
and provides test cases.

Differential revision: https://reviews.llvm.org/D77147
2020-04-01 18:03:02 +03:00
..
ARMEHABIPrinter.h
ARMWinEHPrinter.cpp
ARMWinEHPrinter.h
CMakeLists.txt
COFFDumper.cpp
COFFImportDumper.cpp
DwarfCFIEHPrinter.h
ELFDumper.cpp
Error.cpp
Error.h
llvm-readobj.cpp
llvm-readobj.h
LLVMBuild.txt
MachODumper.cpp
ObjDumper.cpp
ObjDumper.h
StackMapPrinter.h
WasmDumper.cpp
Win64EHDumper.cpp
Win64EHDumper.h
WindowsResourceDumper.cpp
WindowsResourceDumper.h
XCOFFDumper.cpp