llvm-project/lldb/tools
Jason Molenda 2b8b783b1a Quote error string from qLaunchSuccess
If the error message from qLaunchSucess included a gdb RSP
metacharacter, it could crash lldb.  Apply the binary
escaping to the string before sending it to lldb; lldb
promiscuously applies the binary escaping protocol on
packets it receives.

Also fix a small bug in cstring_to_asciihex_string where
a high bit character (eg utf-8 chars) would not be
quoted correctly due to signed char fun.

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

rdar://problem/62873581
2020-05-11 20:05:57 -07:00
..
argdumper [JSON] Use LLVM's library for argdumper 2019-10-01 17:41:55 +00:00
compact-unwind Add arm64_32 support to lldb, an ILP32 codegen 2019-10-16 19:14:49 +00:00
darwin-debug Embed a zero-length /dev/null in darwin-debug for the special section. 2020-01-22 15:50:33 -08:00
darwin-threads the thread id is easier to read in base16. 2018-03-06 23:33:02 +00:00
debugserver Quote error string from qLaunchSuccess 2020-05-11 20:05:57 -07:00
driver [lldb/Driver] Exit with a non-zero exit code in case of error in batch mode. 2020-05-05 11:01:44 -07:00
intel-features [intel-mpx] Delete an unnecessary license header 2020-04-03 17:27:37 -07:00
lldb-instr [lldb/Reproducers] Change the way we instrument void* arguments 2020-02-04 19:05:13 -08:00
lldb-perf/darwin/sketch Remove lldb-perf 2019-07-08 21:38:34 +00:00
lldb-server [lldb] Change Communication::SetConnection to take a unique_ptr 2020-04-02 14:42:25 +02:00
lldb-test [lldb/CMake] Use INSTALL_RPATH for tools and BUILD_RPATH for unittests. 2020-04-30 13:20:06 -07:00
lldb-vscode [lldb-vscode] Add an option for loading core files 2020-04-28 13:03:02 -07:00
CMakeLists.txt [CMake] Copy over the system debugserver when using LLDB_USE_SYSTEM_DEBUGSERVER 2019-09-24 22:39:04 +00:00