llvm-capstone/lldb
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
..
bindings [lldb] Fix lua build after 27b6a4e63a 2023-05-15 17:24:00 -07:00
cmake [lldb][cmake] Allow specifying custom libcxx for tests in standalone builds 2023-05-20 12:07:48 +01:00
docs [lldb][AArch64] Add Scalable Matrix Extension option to QEMU launch script 2023-06-14 14:33:47 +01:00
examples [lldb] Have crashlog warn when remapped paths are inaccessible. 2023-06-14 17:15:28 -07:00
include [lldb][NFCI] Remove use of ConstString from StructuredDataPlugin 2023-06-23 10:29:52 -07:00
packages/Python/lldbsuite [NFC][Py Reformat] Reformat python files in lldb 2023-05-25 12:54:09 -07:00
resources [lldb][NFC] Remove copy of debugserver entitlements plist 2023-01-31 12:58:37 -08:00
scripts [lldb][AArch64] Add Scalable Matrix Extension option to QEMU launch script 2023-06-14 14:33:47 +01:00
source [lldb] Print unprintable characters as unsigned 2023-06-23 11:00:21 -07:00
test [lldb] Adjust for changes in objc runtime 2023-06-22 16:42:22 -07:00
third_party/Python/module [lldb] Remove legacy six module for py2->py3 2023-01-24 19:46:26 -08:00
tools Add two new entitlements when debugserver is built by Apple 2023-06-21 14:56:11 -07:00
unittests [lldb] Print unprintable characters as unsigned 2023-06-23 11:00:21 -07:00
utils [lldb/Commands] Add support to auto-completion for user commands 2023-06-06 10:58:34 -07:00
.clang-format
.clang-tidy [LLDB] Applying clang-tidy modernize-use-override over LLDB 2022-04-22 13:29:47 -07:00
.gitignore
CMakeLists.txt Reland "[CMake] Bumps minimum version to 3.20.0. 2023-05-27 12:51:21 +02:00
CODE_OWNERS.txt [lldb] Add entry to code owner 2023-04-25 23:15:07 -07:00
LICENSE.TXT
use_lldb_suite_root.py