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

Martin Storsjö via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Mon Oct 28 09:43:07 PDT 2019


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





More information about the lldb-commits mailing list