[PATCH] D69502: [LLDB] [PECOFF] Don't crash in ReadImageDataByRVA for addresses out of range

Aleksandr Urakov via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 28 10:11:32 PDT 2019


May be the test for PECallFrameInfo will be helpful?

Martin Storsjö via Phabricator <reviews at reviews.llvm.org> schrieb am Mo.,
28. Okt. 2019, 19:43:

> mstorsjo added a comment.
>
> In D69502#1723549 <https://reviews.llvm.org/D69502#1723549>, @labath
> wrote:
>
> > Any way to get a test for this? Maybe creating a object file with a
> bogus unwind RVA via yaml2obj ?
>
>
> Do we have a suitable test as basis for it? I'm not quite sure which way
> is the most compact way of achieving that. A small couple function exe with
> SEH or dwarf (eh_frame) unwind info, without debug info, with a crash/int3
> in a nested function? Or just some image unwind commands so it doesn't need
> executing?
>
>
> Repository:
>   rLLDB LLDB
>
> CHANGES SINCE LAST ACTION
>   https://reviews.llvm.org/D69502/new/
>
> https://reviews.llvm.org/D69502
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191028/bb86b766/attachment.html>


More information about the llvm-commits mailing list