llvm-capstone/lldb/source
Jonas Devlieghere 85f40fc676
[lldb] Print unprintable characters as unsigned
When specifying the C-string format for dumping memory, we treat
unprintable characters as signed. Whether a character is signed or not
is implementation defined, but all printable characters are signed.
Therefore it's fair to assume that unprintable characters are unsigned.

Before this patch, "\xcf\xfa\xed\xfe\f" would be printed as
"\xffffffcf\xfffffffa\xffffffed\xfffffffe\f". Now we correctly print the
original string.

rdar://111126134

Differential revision: https://reviews.llvm.org/D153644
2023-06-23 11:00:21 -07:00
..
API [lldb][NFCI] Remove use of ConstString from IOHandler 2023-06-15 14:57:20 -07:00
Breakpoint [lldb] Disable variable watchpoints when going out of scope 2023-06-07 16:52:11 -07:00
Commands [lldb] Add register field tables to the "register info" command 2023-06-21 10:50:31 +00:00
Core [lldb] Print unprintable characters as unsigned 2023-06-23 11:00:21 -07:00
DataFormatters [lldb] Default can_create to true in GetChildAtIndex (NFC) 2023-06-13 15:51:32 -07:00
Expression [lldb][NFCI] Remove use of ConstString from IOHandler 2023-06-15 14:57:20 -07:00
Host [lldb][Windows] Fix ZipFileResolver tests 2023-06-22 10:42:40 -07:00
Initialization [lldb] Add diagnostics 2022-10-31 14:40:38 -07:00
Interpreter [lldb][NFCI] Platforms should own their SDKBuild and SDKRootDirectory strings 2023-06-14 09:59:58 -07:00
Plugins [lldb][NFCI] Remove use of ConstString from StructuredDataPlugin 2023-06-23 10:29:52 -07:00
Symbol [lldb] Fix handling of cfi_restore in the unwinder 2023-06-16 08:01:29 +02:00
Target [lldb][NFCI] Remove use of ConstString from StructuredDataPlugin 2023-06-23 10:29:52 -07:00
Utility [lldb][Android] Support zip .so file 2023-06-20 15:21:46 -07:00
Version [lldb][CMake] Enforce not linking against plugin libs in core libs 2023-03-21 16:24:36 -07:00
CMakeLists.txt [lldb] Make lldbVersion a full fledged library 2021-12-08 15:14:34 -08:00