mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 12:12:47 +01:00
8e4afeec9b
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 |
||
---|---|---|
.. | ||
ArchiveTest.cpp | ||
CMakeLists.txt | ||
ELFObjectFileTest.cpp | ||
ELFTest.cpp | ||
ELFTypesTest.cpp | ||
MinidumpTest.cpp | ||
ObjectFileTest.cpp | ||
SymbolicFileTest.cpp | ||
SymbolSizeTest.cpp | ||
XCOFFObjectFileTest.cpp |