llvm-project/lldb/tools/debugserver/source
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
..
MacOSX [lldb/debugserver] Include TargetConditionals.h where needed 2020-05-09 10:12:17 -07:00
ARM_DWARF_Registers.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ARM_ehframe_Registers.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
CMakeLists.txt debugserver: Rely on mig architectures being specified externally 2020-02-10 10:13:05 -08:00
ChangeLog [lldb] NFC: Fix trivial typo in comments, documents, and messages 2020-04-07 01:06:16 +09:00
DNB.cpp [debugserver] Get rid of `else` after `return`. NFC. 2020-04-06 13:35:48 -07:00
DNB.h [lldb] Update header guards to be consistent and compliant with LLVM (NFC) 2020-02-17 23:15:40 -08:00
DNBArch.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
DNBArch.h [lldb] Update header guards to be consistent and compliant with LLVM (NFC) 2020-02-17 23:15:40 -08:00
DNBBreakpoint.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
DNBBreakpoint.h [lldb] Update header guards to be consistent and compliant with LLVM (NFC) 2020-02-17 23:15:40 -08:00
DNBDataRef.cpp [NFC] Remove ASCII lines from comments 2019-04-10 20:48:55 +00:00
DNBDataRef.h [lldb] Update header guards to be consistent and compliant with LLVM (NFC) 2020-02-17 23:15:40 -08:00
DNBDefs.h [lldb] Update header guards to be consistent and compliant with LLVM (NFC) 2020-02-17 23:15:40 -08:00
DNBError.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
DNBError.h [lldb] Update header guards to be consistent and compliant with LLVM (NFC) 2020-02-17 23:15:40 -08:00
DNBLog.cpp [NFC] Remove ASCII lines from comments 2019-04-10 20:48:55 +00:00
DNBLog.h [lldb] Update header guards to be consistent and compliant with LLVM (NFC) 2020-02-17 23:15:40 -08:00
DNBRegisterInfo.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
DNBRegisterInfo.h [lldb] Update header guards to be consistent and compliant with LLVM (NFC) 2020-02-17 23:15:40 -08:00
DNBRuntimeAction.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
DNBThreadResumeActions.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
DNBThreadResumeActions.h [lldb] Update header guards to be consistent and compliant with LLVM (NFC) 2020-02-17 23:15:40 -08:00
DNBTimer.h [lldb] Update header guards to be consistent and compliant with LLVM (NFC) 2020-02-17 23:15:40 -08:00
JSON.cpp [lldb] Fix JSON parser to allow empty arrays 2019-11-18 15:12:55 +01:00
JSON.h [lldb] Update header guards to be consistent and compliant with LLVM (NFC) 2020-02-17 23:15:40 -08:00
JSONGenerator.h [lldb] Update header guards to be consistent and compliant with LLVM (NFC) 2020-02-17 23:15:40 -08:00
PThreadCondition.h [lldb] Update header guards to be consistent and compliant with LLVM (NFC) 2020-02-17 23:15:40 -08:00
PThreadEvent.cpp [NFC] Remove ASCII lines from comments 2019-04-10 20:48:55 +00:00
PThreadEvent.h [lldb] Update header guards to be consistent and compliant with LLVM (NFC) 2020-02-17 23:15:40 -08:00
PThreadMutex.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
PThreadMutex.h [lldb] Update header guards to be consistent and compliant with LLVM (NFC) 2020-02-17 23:15:40 -08:00
PseudoTerminal.cpp [NFC] Remove ASCII lines from comments 2019-04-10 20:48:55 +00:00
PseudoTerminal.h [lldb] Update header guards to be consistent and compliant with LLVM (NFC) 2020-02-17 23:15:40 -08:00
RNBContext.cpp [NFC] Remove ASCII lines from comments 2019-04-10 20:48:55 +00:00
RNBContext.h [lldb] Update header guards to be consistent and compliant with LLVM (NFC) 2020-02-17 23:15:40 -08:00
RNBDefs.h [lldb] Update header guards to be consistent and compliant with LLVM (NFC) 2020-02-17 23:15:40 -08:00
RNBRemote.cpp Quote error string from qLaunchSuccess 2020-05-11 20:05:57 -07:00
RNBRemote.h [lldb] Update header guards to be consistent and compliant with LLVM (NFC) 2020-02-17 23:15:40 -08:00
RNBServices.cpp Enhance debugserver's err reporting on attach fails 2020-02-04 19:46:55 -08:00
RNBServices.h [lldb] Update header guards to be consistent and compliant with LLVM (NFC) 2020-02-17 23:15:40 -08:00
RNBSocket.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
RNBSocket.h [lldb] Update header guards to be consistent and compliant with LLVM (NFC) 2020-02-17 23:15:40 -08:00
StdStringExtractor.cpp [NFC] Remove unused function GetHexWithFixedSize 2019-08-21 04:55:53 +00:00
StdStringExtractor.h [lldb] Update header guards to be consistent and compliant with LLVM (NFC) 2020-02-17 23:15:40 -08:00
SysSignal.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
SysSignal.h [lldb] Update header guards to be consistent and compliant with LLVM (NFC) 2020-02-17 23:15:40 -08:00
TTYState.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
TTYState.h [lldb] Update header guards to be consistent and compliant with LLVM (NFC) 2020-02-17 23:15:40 -08:00
com.apple.debugserver.applist.internal.plist
com.apple.debugserver.applist.plist
com.apple.debugserver.internal.plist
com.apple.debugserver.plist
com.apple.debugserver.posix.internal.plist Add a new lockdownd plist for launching posix processes 2020-05-07 18:53:51 -07:00
com.apple.debugserver.posix.plist
com.apple.internal.xpc.remote.debugserver.plist Rename remotectl_com.apple.internal.xpc.remote.debugserver.plist 2018-03-19 23:07:31 +00:00
debugserver-entitlements.plist Update com.apple.diagnosticd.diagnostic entitlement 2019-03-01 03:34:51 +00:00
debugserver-macosx-entitlements.plist Update com.apple.diagnosticd.diagnostic entitlement 2019-03-01 03:34:51 +00:00
debugserver.cpp [debugserver] Add --version/-V command line option to debugserver. 2019-09-27 21:26:44 +00:00
debugserver_vers.c.in [lldb] Configure debugserver_vers.c from CMake 2019-07-24 17:28:24 +00:00
libdebugserver.cpp Fix integer literals which are cast to bool 2019-05-24 00:44:33 +00:00
libdebugserver.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00