1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00
llvm-mirror/test/tools/llvm-readobj
Georgii Rymar d3e0d6fc26 [llvm-readobj] - Don't crash when dumping invalid dynamic relocation.
Currently when we dump dynamic relocation with use of
DT_RELA/DT_RELASZ/DT_RELAENT tags, we crash when a symbol index
is larger than the number of dynamic symbols or
when there is no dynamic symbol table.

This patch adds test cases and fixes the issues.

Differential revision: https://reviews.llvm.org/D73560
2020-01-31 13:20:51 +03:00
..
COFF [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
ELF [llvm-readobj] - Don't crash when dumping invalid dynamic relocation. 2020-01-31 13:20:51 +03:00
MachO [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
wasm [llvm-readobj][test] - Cleanup and split tests in tools/llvm-readobj folder. 2019-12-12 12:21:58 +03:00
archive.test [llvm-readobj][test] - Cleanup and split tests in tools/llvm-readobj folder. 2019-12-12 12:21:58 +03:00
basic.test [llvm-readobj][test] - Cleanup and split tests in tools/llvm-readobj folder. 2019-12-12 12:21:58 +03:00
thin-archive.test [llvm-readobj][test] - Cleanup and split tests in tools/llvm-readobj folder. 2019-12-12 12:21:58 +03:00