1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 03:02:36 +01:00
llvm-mirror/tools/llvm-readobj
Georgii Rymar 8e4afeec9b [llvm-readelf/obj] - Add support of multiple SHT_SYMTAB_SHNDX sections.
Currently we don't support multiple SHT_SYMTAB_SHNDX sections
and the DT_SYMTAB_SHNDX tag currently.

This patch implements it and fixes the
https://bugs.llvm.org/show_bug.cgi?id=43991.

I had to introduce the `struct DataRegion` to ELF.h,
it is used to represent a region that might have no known size.
It is needed, because we don't know the size of the extended
section indices table when it is located via DT_SYMTAB_SHNDX.
In this case we still want to validate that we don't read
past the end of the file.

Differential revision: https://reviews.llvm.org/D92923
2021-01-13 11:36:43 +03:00
..
ARMEHABIPrinter.h [llvm-readobj][ARM] - Improve support of printing unwind (-u) information for non-relocatable objects. 2020-09-30 11:43:34 +03:00
ARMWinEHPrinter.cpp [llvm-readobj] [ARMWinEH] Clearly print an invalid case of packed unwind info as such 2021-01-08 10:04:44 +02:00
ARMWinEHPrinter.h [llvm-readobj] [ARMWinEH] Print ARM64 packed unwind info 2020-09-15 08:50:02 +03:00
CMakeLists.txt [llvm-readobj] - Remove Error.cpp,.h and drop dependencies in the code. 2020-09-01 16:46:17 +03:00
COFFDumper.cpp [llvm-readobj] Delete unused declaration 2020-12-06 15:54:17 -08:00
COFFImportDumper.cpp
DwarfCFIEHPrinter.h [lib/Object, tools] - Make ELFObjectFile::getELFFile return reference. 2020-12-04 16:02:29 +03:00
ELFDumper.cpp [llvm-readelf/obj] - Add support of multiple SHT_SYMTAB_SHNDX sections. 2021-01-13 11:36:43 +03:00
llvm-readobj.cpp Recommit: [llvm-readelf/obj] - Allow dumping of ELF header even if some elements are corrupt. 2020-11-09 12:53:53 +03:00
llvm-readobj.h
MachODumper.cpp [llvm-readelf/obj] - Move unique warning handling logic to the ObjDumper. 2020-12-01 10:53:00 +03:00
ObjDumper.cpp [llvm-readobj] - Introduce ObjDumper::reportUniqueWarning(const Twine &Msg). 2020-12-01 12:36:44 +03:00
ObjDumper.h [llvm-readobj] - Introduce ObjDumper::reportUniqueWarning(const Twine &Msg). 2020-12-01 12:36:44 +03:00
StackMapPrinter.h
WasmDumper.cpp [llvm-readelf/obj] - Move unique warning handling logic to the ObjDumper. 2020-12-01 10:53:00 +03:00
Win64EHDumper.cpp [llvm-readobj] - Remove Error.cpp,.h and drop dependencies in the code. 2020-09-01 16:46:17 +03:00
Win64EHDumper.h
WindowsResourceDumper.cpp [llvm-readobj] - Remove Error.cpp,.h and drop dependencies in the code. 2020-09-01 16:46:17 +03:00
WindowsResourceDumper.h
XCOFFDumper.cpp [llvm-readelf/obj] - Move unique warning handling logic to the ObjDumper. 2020-12-01 10:53:00 +03:00