llvm-project/lldb/source/Core
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
..
Address.cpp Fix backtrace of noreturn functions situated at the end of a module 2017-06-08 13:26:35 +00:00
AddressRange.cpp iwyu fixes for lldbCore. 2017-04-06 21:28:29 +00:00
AddressResolver.cpp iwyu fixes for lldbCore. 2017-04-06 21:28:29 +00:00
AddressResolverFileLine.cpp iwyu fixes for lldbCore. 2017-04-06 21:28:29 +00:00
AddressResolverName.cpp iwyu fixes for lldbCore. 2017-04-06 21:28:29 +00:00
ArchSpec.cpp Now a ppc64le binary is correctly detected: 2017-08-30 18:36:48 +00:00
Broadcaster.cpp iwyu fixes for lldbCore. 2017-04-06 21:28:29 +00:00
CMakeLists.txt [cmake] Add explicit linkage from Core to curses 2017-08-17 20:33:21 +00:00
Communication.cpp Move Connection and IOObject interfaces to Utility module 2017-06-27 10:33:14 +00:00
Debugger.cpp Implement interactive command interruption 2017-10-05 23:41:28 +00:00
Disassembler.cpp Move Timer and TraceOptions from Core to Utility 2017-06-29 14:32:17 +00:00
DumpDataExtractor.cpp Fix dumping of characters with non-standard sizes 2017-10-11 08:48:18 +00:00
DynamicLoader.cpp Rename Error -> Status. 2017-05-12 04:51:55 +00:00
EmulateInstruction.cpp Rename Error -> Status. 2017-05-12 04:51:55 +00:00
Event.cpp iwyu fixes for lldbCore. 2017-04-06 21:28:29 +00:00
FileLineResolver.cpp iwyu fixes for lldbCore. 2017-04-06 21:28:29 +00:00
FileSpecList.cpp iwyu fixes for lldbCore. 2017-04-06 21:28:29 +00:00
FormatEntity.cpp Move StructuredData from Core to Utility 2017-06-27 10:45:31 +00:00
IOHandler.cpp Remove uses of std::auto_ptr, it's going away in C++17. 2017-09-14 15:01:55 +00:00
Listener.cpp iwyu fixes for lldbCore. 2017-04-06 21:28:29 +00:00
Mangled.cpp Move Timer and TraceOptions from Core to Utility 2017-06-29 14:32:17 +00:00
Module.cpp Move Timer and TraceOptions from Core to Utility 2017-06-29 14:32:17 +00:00
ModuleChild.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
ModuleList.cpp Rename Error -> Status. 2017-05-12 04:51:55 +00:00
Opcode.cpp iwyu fixes for lldbCore. 2017-04-06 21:28:29 +00:00
PluginManager.cpp Rename Error -> Status. 2017-05-12 04:51:55 +00:00
RegisterValue.cpp Rename Error -> Status. 2017-05-12 04:51:55 +00:00
Scalar.cpp Rename Error -> Status. 2017-05-12 04:51:55 +00:00
SearchFilter.cpp Update StructuredData::String to return StringRefs. 2017-05-12 05:49:54 +00:00
Section.cpp Improve FreeBSD kernel debugging 2017-10-02 14:35:07 +00:00
SourceManager.cpp iwyu fixes for lldbCore. 2017-04-06 21:28:29 +00:00
State.cpp iwyu fixes for lldbCore. 2017-04-06 21:28:29 +00:00
StreamAsynchronousIO.cpp iwyu fixes for lldbCore. 2017-04-06 21:28:29 +00:00
StreamFile.cpp iwyu fixes for lldbCore. 2017-04-06 21:28:29 +00:00
UserSettingsController.cpp Rename Error -> Status. 2017-05-12 04:51:55 +00:00
Value.cpp [Core/Value] Remove dead code that hasn't been touched in years. NFC. 2017-09-03 19:24:58 +00:00
ValueObject.cpp Rename Error -> Status. 2017-05-12 04:51:55 +00:00
ValueObjectCast.cpp Rename Error -> Status. 2017-05-12 04:51:55 +00:00
ValueObjectChild.cpp Rename Error -> Status. 2017-05-12 04:51:55 +00:00
ValueObjectConstResult.cpp Rename Error -> Status. 2017-05-12 04:51:55 +00:00
ValueObjectConstResultCast.cpp Rename Error -> Status. 2017-05-12 04:51:55 +00:00
ValueObjectConstResultChild.cpp Rename Error -> Status. 2017-05-12 04:51:55 +00:00
ValueObjectConstResultImpl.cpp Rename Error -> Status. 2017-05-12 04:51:55 +00:00
ValueObjectDynamicValue.cpp Rename Error -> Status. 2017-05-12 04:51:55 +00:00
ValueObjectList.cpp iwyu fixes for lldbCore. 2017-04-06 21:28:29 +00:00
ValueObjectMemory.cpp Rename Error -> Status. 2017-05-12 04:51:55 +00:00
ValueObjectRegister.cpp Rename Error -> Status. 2017-05-12 04:51:55 +00:00
ValueObjectSyntheticFilter.cpp Rename Error -> Status. 2017-05-12 04:51:55 +00:00
ValueObjectVariable.cpp Remove the DWARFExpression -> Clang ExpressionParser dependency 2017-08-16 11:45:10 +00:00