llvm-project/lldb
Leonard Mosescu 2ae3ec3b81 Restructure the minidump loading path and add early & explicit consistency checks
Corrupted minidumps was leading to unpredictable behavior.

This change adds explicit consistency checks for the minidump early on. The
checks are not comprehensive but they should catch obvious structural violations:

streams with type == 0
duplicate streams (same type)
overlapping streams
truncated minidumps

Another early check is to make sure we actually support the minidump architecture
instead of crashing at a random place deep inside LLDB.

Differential Revision: https://reviews.llvm.org/D49202

llvm-svn: 336918
2018-07-12 17:27:18 +00:00
..
cmake [CMake] Simplify a few framework build rules 2018-07-05 22:16:15 +00:00
docs Enable AUTOBRIEF in doxygen configuration. 2018-05-02 16:55:16 +00:00
examples Update cmdtemplate.py to use best pratices. 2018-06-22 23:34:24 +00:00
include/lldb Allow specifying an exit code for the 'quit' command 2018-07-11 17:18:01 +00:00
lit [FileCheck] Add -allow-deprecated-dag-overlap to failing lldb tests 2018-07-11 20:27:05 +00:00
lldb.xcodeproj Re-sort the lldb.xcodeproj project file and commit the script 2018-07-03 00:43:57 +00:00
lldb.xcworkspace Fix a typo in the gtest build target for Debug configuration. 2018-04-10 17:49:56 +00:00
packages/Python/lldbsuite [IRInterpreter] Fix misevaluation of interpretation expressions with `urem`. 2018-07-12 00:31:04 +00:00
resources Fix up Info.plist when building LLDB.framework with CMake 2018-06-19 02:59:30 +00:00
scripts Allow specifying an exit code for the 'quit' command 2018-07-11 17:18:01 +00:00
source Restructure the minidump loading path and add early & explicit consistency checks 2018-07-12 17:27:18 +00:00
test [CMake] Move some variables around 2018-07-04 13:59:25 +00:00
third_party/Python/module *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
tools Allow specifying an exit code for the 'quit' command 2018-07-11 17:18:01 +00:00
unittests Restructure the minidump loading path and add early & explicit consistency checks 2018-07-12 17:27:18 +00:00
utils [CMake] Unify and relayer testing 2018-05-03 16:54:10 +00:00
www Fix/unify the spelling of Objective-C. 2018-06-13 16:21:24 +00:00
.arcconfig Upgrade all the .arcconfigs to https. 2016-07-14 13:15:37 +00:00
.clang-format Updated .clang-format rules so bring LLDB in line with LLVM standards. 2016-09-06 17:19:00 +00:00
.gitignore [dotest] Remove crashinfo hook 2018-01-10 10:18:47 +00:00
CMakeLists.txt [CMake] Remove redundant path component 2018-07-04 14:38:21 +00:00
CODE_OWNERS.txt Fix/unify the spelling of Objective-C. 2018-06-13 16:21:24 +00:00
INSTALL.txt Changed builld-llvm.py to use .json files 2017-02-23 02:21:34 +00:00
LICENSE.TXT
use_lldb_suite_root.py *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00