llvm-project/lldb/source/Plugins/SymbolFile
Luke Drummond 0fa3320931 [lldb] reject `.debug_arange` sections with nonzero segment size
If a producer emits a nonzero segment size, `lldb` will silently read
incorrect values and crash, or do something worse later as the tuple
size is expected to be 2, rather than 3.

Neither LLVM, nor GCC produce segmented aranges, but this dangerous case
should still be checked and handled.

Reviewed by: clayborg, labath
Differential Revision: https://reviews.llvm.org/D75925
Subscribers: lldb-commits
Tags: #lldb
2020-03-12 12:22:50 +00:00
..
Breakpad [lldb][NFC] Make all CompilerDeclContext parameters references instead of pointers 2020-02-18 08:58:36 +01:00
DWARF [lldb] reject `.debug_arange` sections with nonzero segment size 2020-03-12 12:22:50 +00:00
NativePDB Remove unused Endian.h includes, NFC 2020-03-11 15:45:34 -07:00
PDB [lldb] Refactor and test TypeSystemClang::GetEnumerationIntegerType 2020-02-18 09:52:49 +01:00
Symtab [lldb] Update header guards to be consistent and compliant with LLVM (NFC) 2020-02-17 23:15:40 -08:00
CMakeLists.txt Introduce SymbolFileBreakpad and use it to fill symtab 2019-01-11 11:17:51 +00:00