[PATCH] D82886: [DebugInfo] Fix a possible crash when reading a malformed .debug_*lists section.
Igor Kudrin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 8 08:42:00 PDT 2020
ikudrin added a comment.
In D82886#2137907 <https://reviews.llvm.org/D82886#2137907>, @dblaikie wrote:
> Ah, thanks! Would be handy to have a test case for that & perhaps some other way to communicate "end of list" that's a bit more explicit?
For my understanding, that is not yet broken, so does not need to be fixed.
> Hmm, I'm not sure why this produce the repetition - if length() accurately returned the length that was read rather than zero, then it'd go to the end and stop, right?
`0xffffffff` is a DWARF64 mark, so than it is read, the library expects to read the next 8 bytes.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D82886/new/
https://reviews.llvm.org/D82886
More information about the llvm-commits
mailing list