Georgii Rymar
8590b5ccd5
[libObject, llvm-readobj] - Reimplement ELFFile<ELFT>::getEntry.
...
Currently, `ELFFile<ELFT>::getEntry` does not check an index of
an entry. Because of that the code might read past the end of the symbol
table silently. I've added a test to `llvm-readobj\ELF\relocations.test`
to demonstrate the possible issue. Also, I've added a unit test for
this method.
After this change, `getEntry` stops reporting the section index and
reuses the `getSectionContentsAsArray` method, which already has
all the validation needed. Our related warnings now provide
more and better context sometimes.
Differential revision: https://reviews.llvm.org/D93209
2020-12-18 16:52:27 +03:00
..
2020-11-13 10:35:24 +01:00
2020-12-10 14:57:08 +03:00
2020-12-16 23:28:32 -08:00
2020-12-08 17:15:22 -05:00
2020-11-13 10:35:24 +01:00
2020-11-13 10:35:24 +01:00
2020-11-13 10:35:24 +01:00
2020-11-13 10:35:24 +01:00
2020-12-06 15:18:25 -08:00
2020-11-13 10:35:24 +01:00
2020-11-13 10:35:24 +01:00
2020-09-12 22:01:29 +03:00
2020-11-13 10:35:24 +01:00
2020-11-13 10:35:24 +01:00
2020-11-13 10:35:24 +01:00
2020-11-13 10:35:24 +01:00
2020-12-02 22:02:48 -08:00
2020-11-13 10:35:24 +01:00
2020-11-13 10:35:24 +01:00
2020-11-13 10:35:24 +01:00
2020-11-23 12:18:58 -08:00
2020-12-04 15:02:12 +00:00
2020-11-13 10:35:24 +01:00
2020-12-04 16:02:29 +03:00
2020-11-13 10:35:24 +01:00
2020-10-14 15:58:31 +00:00
2020-12-14 13:39:33 +11:00
2020-11-16 19:28:14 +11:00
2020-11-13 10:35:24 +01:00
2020-12-09 23:16:13 -08:00
2020-11-13 10:35:24 +01:00
2020-12-16 23:28:32 -08:00
2020-12-08 11:43:19 -08:00
2020-11-21 21:04:12 -08:00
2020-11-21 21:04:12 -08:00
2020-12-01 18:06:05 -05:00
2020-11-13 10:35:24 +01:00
2020-11-13 10:35:24 +01:00
2020-12-04 21:48:53 -08:00
2020-12-04 16:02:29 +03:00
2020-12-17 10:44:10 +00:00
2020-12-17 14:04:48 +03:00
2020-11-13 10:35:24 +01:00
2020-12-16 15:57:18 -08:00
2020-12-07 22:36:25 -08:00
2020-12-10 14:11:06 +02:00
2020-12-18 16:52:27 +03:00
2020-11-13 10:35:24 +01:00
2020-11-21 21:04:12 -08:00
2020-11-13 10:35:24 +01:00
2020-11-13 10:35:24 +01:00
2020-11-13 10:35:24 +01:00
2020-11-13 10:35:24 +01:00
2020-12-15 09:20:31 -08:00
2020-11-13 10:35:24 +01:00
2020-09-26 15:57:13 -07:00
2020-11-18 23:06:03 +00:00
2020-10-14 15:58:31 +00:00
2020-12-16 13:49:57 +03:00
2020-12-17 14:04:48 +03:00
2020-09-20 12:40:21 +02:00
2020-09-26 15:57:13 -07:00
2020-11-13 10:35:24 +01:00
2020-10-19 10:21:21 -07:00