[LLDB] [PECOFF] Don't crash in ReadImageDataByRVA for addresses out of range
authorMartin Storsjö <martin@martin.st>
Mon, 28 Oct 2019 08:09:52 +0000 (10:09 +0200)
committerMartin Storsjö <martin@martin.st>
Thu, 31 Oct 2019 09:26:06 +0000 (11:26 +0200)
commit7e1a3076419d4d453d71143a1e81409ea1db177c
tree892eb1453cfa8d84bc2ffa8180c7b46b2a96fc22
parente65ddcafee547eddb72aa63b1d49f76e46acdd9a
[LLDB] [PECOFF] Don't crash in ReadImageDataByRVA for addresses out of range

This can happen e.g. when unwinding doesn't work perfectly.

Differential Revision: https://reviews.llvm.org/D69502
lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp
lldb/test/Shell/Minidump/Windows/Inputs/broken-unwind.dmp.yaml [new file with mode: 0644]
lldb/test/Shell/Minidump/Windows/Inputs/broken-unwind.exe.yaml [new file with mode: 0644]
lldb/test/Shell/Minidump/Windows/broken-unwind.test [new file with mode: 0644]