llvm-project/lldb
Petr Pavlu dbd7c338a0 Fix dumping of characters with non-standard sizes
* Prevent dumping of characters in DumpDataExtractor() with
  item_byte_size bigger than 8 bytes. This case is not supported by the
  code and results in a crash because the code calls
  DataExtractor::GetMaxU64Bitfield() -> GetMaxU64() that asserts for
  byte size > 8 bytes.
* Teach DataExtractor::GetMaxU64(), GetMaxU32(), GetMaxS64() and
  GetMaxU64_unchecked() how to handle byte sizes that are not a multiple
  of 2. This allows DumpDataExtractor() to dump characters and booleans
  with item_byte_size in the interval of [1, 8] bytes. Values that are
  not a multiple of 2 would previously result in a crash because they
  were not handled by GetMaxU64().

llvm-svn: 315444
2017-10-11 08:48:18 +00:00
..
cmake Check availability of accept4 in C++ instad of C code. 2017-09-16 02:58:49 +00:00
docs Adding Support for Error Strings in Remote Packets 2017-07-12 11:15:34 +00:00
examples Work around a bug in the C++ expression parser. 2017-10-05 01:00:29 +00:00
include/lldb Fix dumping of characters with non-standard sizes 2017-10-11 08:48:18 +00:00
lit Resubmit "[lit] Force site configs to run before source-tree configs" 2017-09-15 22:10:46 +00:00
lldb.xcodeproj Remove the input file specification from the 2017-10-07 00:13:10 +00:00
lldb.xcworkspace
packages/Python/lldbsuite Implement interactive command interruption 2017-10-05 23:41:28 +00:00
resources
scripts Implement interactive command interruption 2017-10-05 23:41:28 +00:00
source Fix dumping of characters with non-standard sizes 2017-10-11 08:48:18 +00:00
test cmake build needs to run tests AND collect results 2017-07-18 23:45:06 +00:00
third_party/Python/module
tools [lldb-mi] Fix a thinko in my previous commit. 2017-09-30 21:52:31 +00:00
unittests Fix dumping of characters with non-standard sizes 2017-10-11 08:48:18 +00:00
utils
www Mention breakpoint names in the tutorial. 2017-09-14 22:20:31 +00:00
.arcconfig
.clang-format
.gitignore
CMakeLists.txt [CMake] Add LLDB_INCLUDE_TESTS variable 2017-10-06 22:21:36 +00:00
CODE_OWNERS.txt
INSTALL.txt
LICENSE.TXT
use_lldb_suite_root.py