LLDB  mainline
Public Types | Public Member Functions | Protected Attributes | List of all members
StringExtractorGDBRemote Class Reference

#include <StringExtractorGDBRemote.h>

Inheritance diagram for StringExtractorGDBRemote:
Inheritance graph
[legend]
Collaboration diagram for StringExtractorGDBRemote:
Collaboration graph
[legend]

Public Types

enum  ServerPacketType {
  eServerPacketType_nack = 0, eServerPacketType_ack, eServerPacketType_invalid, eServerPacketType_unimplemented,
  eServerPacketType_interrupt, eServerPacketType_A, eServerPacketType_qfProcessInfo, eServerPacketType_qsProcessInfo,
  eServerPacketType_qC, eServerPacketType_qEcho, eServerPacketType_qGroupName, eServerPacketType_qHostInfo,
  eServerPacketType_qLaunchGDBServer, eServerPacketType_qQueryGDBServer, eServerPacketType_qKillSpawnedProcess, eServerPacketType_qLaunchSuccess,
  eServerPacketType_qModuleInfo, eServerPacketType_qProcessInfoPID, eServerPacketType_qSpeedTest, eServerPacketType_qUserName,
  eServerPacketType_qGetWorkingDir, eServerPacketType_qFileLoadAddress, eServerPacketType_QEnvironment, eServerPacketType_QEnableErrorStrings,
  eServerPacketType_QLaunchArch, eServerPacketType_QSetDisableASLR, eServerPacketType_QSetDetachOnError, eServerPacketType_QSetSTDIN,
  eServerPacketType_QSetSTDOUT, eServerPacketType_QSetSTDERR, eServerPacketType_QSetWorkingDir, eServerPacketType_QStartNoAckMode,
  eServerPacketType_qPlatform_shell, eServerPacketType_qPlatform_mkdir, eServerPacketType_qPlatform_chmod, eServerPacketType_vFile_open,
  eServerPacketType_vFile_close, eServerPacketType_vFile_pread, eServerPacketType_vFile_pwrite, eServerPacketType_vFile_size,
  eServerPacketType_vFile_mode, eServerPacketType_vFile_exists, eServerPacketType_vFile_md5, eServerPacketType_vFile_stat,
  eServerPacketType_vFile_symlink, eServerPacketType_vFile_unlink, eServerPacketType_QEnvironmentHexEncoded, eServerPacketType_QListThreadsInStopReply,
  eServerPacketType_QPassSignals, eServerPacketType_QRestoreRegisterState, eServerPacketType_QSaveRegisterState, eServerPacketType_QSetLogging,
  eServerPacketType_QSetMaxPacketSize, eServerPacketType_QSetMaxPayloadSize, eServerPacketType_QSetEnableAsyncProfiling, eServerPacketType_QSyncThreadState,
  eServerPacketType_QThreadSuffixSupported, eServerPacketType_jThreadsInfo, eServerPacketType_qsThreadInfo, eServerPacketType_qfThreadInfo,
  eServerPacketType_qGetPid, eServerPacketType_qGetProfileData, eServerPacketType_qGDBServerVersion, eServerPacketType_qMemoryRegionInfo,
  eServerPacketType_qMemoryRegionInfoSupported, eServerPacketType_qProcessInfo, eServerPacketType_qRcmd, eServerPacketType_qRegisterInfo,
  eServerPacketType_qShlibInfoAddr, eServerPacketType_qStepPacketSupported, eServerPacketType_qSupported, eServerPacketType_qSyncThreadStateSupported,
  eServerPacketType_qThreadExtraInfo, eServerPacketType_qThreadStopInfo, eServerPacketType_qVAttachOrWaitSupported, eServerPacketType_qWatchpointSupportInfo,
  eServerPacketType_qWatchpointSupportInfoSupported, eServerPacketType_qXfer_auxv_read, eServerPacketType_jSignalsInfo, eServerPacketType_jModulesInfo,
  eServerPacketType_vAttach, eServerPacketType_vAttachWait, eServerPacketType_vAttachOrWait, eServerPacketType_vAttachName,
  eServerPacketType_vCont, eServerPacketType_vCont_actions, eServerPacketType_stop_reason, eServerPacketType_c,
  eServerPacketType_C, eServerPacketType_D, eServerPacketType_g, eServerPacketType_G,
  eServerPacketType_H, eServerPacketType_I, eServerPacketType_k, eServerPacketType_m,
  eServerPacketType_M, eServerPacketType_p, eServerPacketType_P, eServerPacketType_s,
  eServerPacketType_S, eServerPacketType_T, eServerPacketType_x, eServerPacketType_X,
  eServerPacketType_Z, eServerPacketType_z, eServerPacketType__M, eServerPacketType__m,
  eServerPacketType_notify, eServerPacketType_jTraceStart, eServerPacketType_jTraceBufferRead, eServerPacketType_jTraceMetaRead,
  eServerPacketType_jTraceStop, eServerPacketType_jTraceConfigRead
}
 
enum  ResponseType {
  eUnsupported = 0, eAck, eNack, eError,
  eOK, eResponse
}
 
typedef bool(* ResponseValidatorCallback) (void *baton, const StringExtractorGDBRemote &response)
 
- Public Types inherited from StringExtractor
enum  { BigEndian = 0, LittleEndian = 1 }
 

Public Member Functions

 StringExtractorGDBRemote ()
 
 StringExtractorGDBRemote (llvm::StringRef str)
 
 StringExtractorGDBRemote (const char *cstr)
 
 StringExtractorGDBRemote (const StringExtractorGDBRemote &rhs)
 
 ~StringExtractorGDBRemote () override
 
bool ValidateResponse () const
 
void CopyResponseValidator (const StringExtractorGDBRemote &rhs)
 
void SetResponseValidator (ResponseValidatorCallback callback, void *baton)
 
void SetResponseValidatorToOKErrorNotSupported ()
 
void SetResponseValidatorToASCIIHexBytes ()
 
void SetResponseValidatorToJSON ()
 
ServerPacketType GetServerPacketType () const
 
ResponseType GetResponseType () const
 
bool IsOKResponse () const
 
bool IsUnsupportedResponse () const
 
bool IsNormalResponse () const
 
bool IsErrorResponse () const
 
uint8_t GetError ()
 
lldb_private::Status GetStatus ()
 
size_t GetEscapedBinaryData (std::string &str)
 
- Public Member Functions inherited from StringExtractor
 StringExtractor ()
 
 StringExtractor (llvm::StringRef packet_str)
 
 StringExtractor (const char *packet_cstr)
 
 StringExtractor (const StringExtractor &rhs)
 
virtual ~StringExtractor ()
 
const StringExtractoroperator= (const StringExtractor &rhs)
 
void Reset (llvm::StringRef str)
 
bool IsGood () const
 
uint64_t GetFilePos () const
 
void SetFilePos (uint32_t idx)
 
void Clear ()
 
void SkipSpaces ()
 
std::string & GetStringRef ()
 
const std::string & GetStringRef () const
 
bool Empty ()
 
size_t GetBytesLeft ()
 
char GetChar (char fail_value='\0')
 
char PeekChar (char fail_value='\0')
 
int DecodeHexU8 ()
 
uint8_t GetHexU8 (uint8_t fail_value=0, bool set_eof_on_fail=true)
 
bool GetHexU8Ex (uint8_t &ch, bool set_eof_on_fail=true)
 
bool GetNameColonValue (llvm::StringRef &name, llvm::StringRef &value)
 
int32_t GetS32 (int32_t fail_value, int base=0)
 
uint32_t GetU32 (uint32_t fail_value, int base=0)
 
int64_t GetS64 (int64_t fail_value, int base=0)
 
uint64_t GetU64 (uint64_t fail_value, int base=0)
 
uint32_t GetHexMaxU32 (bool little_endian, uint32_t fail_value)
 
uint64_t GetHexMaxU64 (bool little_endian, uint64_t fail_value)
 
size_t GetHexBytes (llvm::MutableArrayRef< uint8_t > dest, uint8_t fail_fill_value)
 
size_t GetHexBytesAvail (llvm::MutableArrayRef< uint8_t > dest)
 
uint64_t GetHexWithFixedSize (uint32_t byte_size, bool little_endian, uint64_t fail_value)
 
size_t GetHexByteString (std::string &str)
 
size_t GetHexByteStringFixedLength (std::string &str, uint32_t nibble_length)
 
size_t GetHexByteStringTerminatedBy (std::string &str, char terminator)
 
bool ConsumeFront (const llvm::StringRef &str)
 
const char * Peek ()
 

Protected Attributes

ResponseValidatorCallback m_validator
 
void * m_validator_baton
 
- Protected Attributes inherited from StringExtractor
std::string m_packet
 
uint64_t m_index
 

Additional Inherited Members

- Protected Member Functions inherited from StringExtractor
bool fail ()
 

Detailed Description

Definition at line 21 of file StringExtractorGDBRemote.h.

Member Typedef Documentation

◆ ResponseValidatorCallback

typedef bool(* StringExtractorGDBRemote::ResponseValidatorCallback) (void *baton, const StringExtractorGDBRemote &response)

Definition at line 23 of file StringExtractorGDBRemote.h.

Member Enumeration Documentation

◆ ResponseType

Enumerator
eUnsupported 
eAck 
eNack 
eError 
eOK 
eResponse 

Definition at line 178 of file StringExtractorGDBRemote.h.

◆ ServerPacketType

Enumerator
eServerPacketType_nack 
eServerPacketType_ack 
eServerPacketType_invalid 
eServerPacketType_unimplemented 
eServerPacketType_interrupt 
eServerPacketType_A 
eServerPacketType_qfProcessInfo 
eServerPacketType_qsProcessInfo 
eServerPacketType_qC 
eServerPacketType_qEcho 
eServerPacketType_qGroupName 
eServerPacketType_qHostInfo 
eServerPacketType_qLaunchGDBServer 
eServerPacketType_qQueryGDBServer 
eServerPacketType_qKillSpawnedProcess 
eServerPacketType_qLaunchSuccess 
eServerPacketType_qModuleInfo 
eServerPacketType_qProcessInfoPID 
eServerPacketType_qSpeedTest 
eServerPacketType_qUserName 
eServerPacketType_qGetWorkingDir 
eServerPacketType_qFileLoadAddress 
eServerPacketType_QEnvironment 
eServerPacketType_QEnableErrorStrings 
eServerPacketType_QLaunchArch 
eServerPacketType_QSetDisableASLR 
eServerPacketType_QSetDetachOnError 
eServerPacketType_QSetSTDIN 
eServerPacketType_QSetSTDOUT 
eServerPacketType_QSetSTDERR 
eServerPacketType_QSetWorkingDir 
eServerPacketType_QStartNoAckMode 
eServerPacketType_qPlatform_shell 
eServerPacketType_qPlatform_mkdir 
eServerPacketType_qPlatform_chmod 
eServerPacketType_vFile_open 
eServerPacketType_vFile_close 
eServerPacketType_vFile_pread 
eServerPacketType_vFile_pwrite 
eServerPacketType_vFile_size 
eServerPacketType_vFile_mode 
eServerPacketType_vFile_exists 
eServerPacketType_vFile_md5 
eServerPacketType_vFile_stat 
eServerPacketType_vFile_symlink 
eServerPacketType_vFile_unlink 
eServerPacketType_QEnvironmentHexEncoded 
eServerPacketType_QListThreadsInStopReply 
eServerPacketType_QPassSignals 
eServerPacketType_QRestoreRegisterState 
eServerPacketType_QSaveRegisterState 
eServerPacketType_QSetLogging 
eServerPacketType_QSetMaxPacketSize 
eServerPacketType_QSetMaxPayloadSize 
eServerPacketType_QSetEnableAsyncProfiling 
eServerPacketType_QSyncThreadState 
eServerPacketType_QThreadSuffixSupported 
eServerPacketType_jThreadsInfo 
eServerPacketType_qsThreadInfo 
eServerPacketType_qfThreadInfo 
eServerPacketType_qGetPid 
eServerPacketType_qGetProfileData 
eServerPacketType_qGDBServerVersion 
eServerPacketType_qMemoryRegionInfo 
eServerPacketType_qMemoryRegionInfoSupported 
eServerPacketType_qProcessInfo 
eServerPacketType_qRcmd 
eServerPacketType_qRegisterInfo 
eServerPacketType_qShlibInfoAddr 
eServerPacketType_qStepPacketSupported 
eServerPacketType_qSupported 
eServerPacketType_qSyncThreadStateSupported 
eServerPacketType_qThreadExtraInfo 
eServerPacketType_qThreadStopInfo 
eServerPacketType_qVAttachOrWaitSupported 
eServerPacketType_qWatchpointSupportInfo 
eServerPacketType_qWatchpointSupportInfoSupported 
eServerPacketType_qXfer_auxv_read 
eServerPacketType_jSignalsInfo 
eServerPacketType_jModulesInfo 
eServerPacketType_vAttach 
eServerPacketType_vAttachWait 
eServerPacketType_vAttachOrWait 
eServerPacketType_vAttachName 
eServerPacketType_vCont 
eServerPacketType_vCont_actions 
eServerPacketType_stop_reason 
eServerPacketType_c 
eServerPacketType_C 
eServerPacketType_D 
eServerPacketType_g 
eServerPacketType_G 
eServerPacketType_H 
eServerPacketType_I 
eServerPacketType_k 
eServerPacketType_m 
eServerPacketType_M 
eServerPacketType_p 
eServerPacketType_P 
eServerPacketType_s 
eServerPacketType_S 
eServerPacketType_T 
eServerPacketType_x 
eServerPacketType_X 
eServerPacketType_Z 
eServerPacketType_z 
eServerPacketType__M 
eServerPacketType__m 
eServerPacketType_notify 
eServerPacketType_jTraceStart 
eServerPacketType_jTraceBufferRead 
eServerPacketType_jTraceMetaRead 
eServerPacketType_jTraceStop 
eServerPacketType_jTraceConfigRead 

Definition at line 51 of file StringExtractorGDBRemote.h.

Constructor & Destructor Documentation

◆ StringExtractorGDBRemote() [1/4]

StringExtractorGDBRemote::StringExtractorGDBRemote ( )
inline

Definition at line 26 of file StringExtractorGDBRemote.h.

◆ StringExtractorGDBRemote() [2/4]

StringExtractorGDBRemote::StringExtractorGDBRemote ( llvm::StringRef  str)
inline

Definition at line 28 of file StringExtractorGDBRemote.h.

◆ StringExtractorGDBRemote() [3/4]

StringExtractorGDBRemote::StringExtractorGDBRemote ( const char *  cstr)
inline

Definition at line 31 of file StringExtractorGDBRemote.h.

◆ StringExtractorGDBRemote() [4/4]

StringExtractorGDBRemote::StringExtractorGDBRemote ( const StringExtractorGDBRemote rhs)
inline

Definition at line 34 of file StringExtractorGDBRemote.h.

◆ ~StringExtractorGDBRemote()

StringExtractorGDBRemote::~StringExtractorGDBRemote ( )
inlineoverride

Member Function Documentation

◆ CopyResponseValidator()

void StringExtractorGDBRemote::CopyResponseValidator ( const StringExtractorGDBRemote rhs)

Definition at line 573 of file StringExtractorGDBRemote.cpp.

References m_validator, and m_validator_baton.

Referenced by ~StringExtractorGDBRemote().

◆ GetError()

uint8_t StringExtractorGDBRemote::GetError ( )

Definition at line 457 of file StringExtractorGDBRemote.cpp.

References eError, StringExtractor::GetHexU8(), GetResponseType(), and StringExtractor::SetFilePos().

Referenced by lldb_private::process_gdb_remote::ProcessGDBRemote::AsyncThread(), lldb_private::process_gdb_remote::ProcessGDBRemote::GetFileLoadAddress(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::SendArgumentsPacket(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::SendAttach(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::SendEnvironmentPacket(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::SendGDBStoppointTypePacket(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::SendLaunchArchPacket(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::SendLaunchEventDataPacket(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::SendStdinNotification(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::SendStopTracePacket(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::SetDetachOnError(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::SetDisableASLR(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::SetSTDERR(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::SetSTDIN(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::SetSTDOUT(), and lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::SetWorkingDir().

◆ GetEscapedBinaryData()

size_t StringExtractorGDBRemote::GetEscapedBinaryData ( std::string &  str)

◆ GetResponseType()

StringExtractorGDBRemote::ResponseType StringExtractorGDBRemote::GetResponseType ( ) const

◆ GetServerPacketType()

StringExtractorGDBRemote::ServerPacketType StringExtractorGDBRemote::GetServerPacketType ( ) const

Definition at line 54 of file StringExtractorGDBRemote.cpp.

References eServerPacketType__M, eServerPacketType__m, eServerPacketType_A, eServerPacketType_ack, eServerPacketType_c, eServerPacketType_C, eServerPacketType_D, eServerPacketType_g, eServerPacketType_G, eServerPacketType_H, eServerPacketType_I, eServerPacketType_interrupt, eServerPacketType_invalid, eServerPacketType_jModulesInfo, eServerPacketType_jSignalsInfo, eServerPacketType_jThreadsInfo, eServerPacketType_jTraceBufferRead, eServerPacketType_jTraceConfigRead, eServerPacketType_jTraceMetaRead, eServerPacketType_jTraceStart, eServerPacketType_jTraceStop, eServerPacketType_k, eServerPacketType_m, eServerPacketType_M, eServerPacketType_nack, eServerPacketType_notify, eServerPacketType_p, eServerPacketType_P, eServerPacketType_qC, eServerPacketType_qEcho, eServerPacketType_QEnableErrorStrings, eServerPacketType_QEnvironment, eServerPacketType_QEnvironmentHexEncoded, eServerPacketType_qFileLoadAddress, eServerPacketType_qfProcessInfo, eServerPacketType_qfThreadInfo, eServerPacketType_qGDBServerVersion, eServerPacketType_qGetPid, eServerPacketType_qGetProfileData, eServerPacketType_qGetWorkingDir, eServerPacketType_qGroupName, eServerPacketType_qHostInfo, eServerPacketType_qKillSpawnedProcess, eServerPacketType_QLaunchArch, eServerPacketType_qLaunchGDBServer, eServerPacketType_qLaunchSuccess, eServerPacketType_QListThreadsInStopReply, eServerPacketType_qMemoryRegionInfo, eServerPacketType_qMemoryRegionInfoSupported, eServerPacketType_qModuleInfo, eServerPacketType_QPassSignals, eServerPacketType_qPlatform_chmod, eServerPacketType_qPlatform_mkdir, eServerPacketType_qPlatform_shell, eServerPacketType_qProcessInfo, eServerPacketType_qProcessInfoPID, eServerPacketType_qQueryGDBServer, eServerPacketType_qRcmd, eServerPacketType_qRegisterInfo, eServerPacketType_QRestoreRegisterState, eServerPacketType_QSaveRegisterState, eServerPacketType_QSetDetachOnError, eServerPacketType_QSetDisableASLR, eServerPacketType_QSetEnableAsyncProfiling, eServerPacketType_QSetLogging, eServerPacketType_QSetMaxPacketSize, eServerPacketType_QSetMaxPayloadSize, eServerPacketType_QSetSTDERR, eServerPacketType_QSetSTDIN, eServerPacketType_QSetSTDOUT, eServerPacketType_QSetWorkingDir, eServerPacketType_qShlibInfoAddr, eServerPacketType_qSpeedTest, eServerPacketType_qsProcessInfo, eServerPacketType_QStartNoAckMode, eServerPacketType_qStepPacketSupported, eServerPacketType_qsThreadInfo, eServerPacketType_qSupported, eServerPacketType_QSyncThreadState, eServerPacketType_qSyncThreadStateSupported, eServerPacketType_qThreadExtraInfo, eServerPacketType_qThreadStopInfo, eServerPacketType_QThreadSuffixSupported, eServerPacketType_qUserName, eServerPacketType_qVAttachOrWaitSupported, eServerPacketType_qWatchpointSupportInfo, eServerPacketType_qWatchpointSupportInfoSupported, eServerPacketType_qXfer_auxv_read, eServerPacketType_s, eServerPacketType_S, eServerPacketType_stop_reason, eServerPacketType_T, eServerPacketType_unimplemented, eServerPacketType_vAttach, eServerPacketType_vAttachName, eServerPacketType_vAttachOrWait, eServerPacketType_vAttachWait, eServerPacketType_vCont, eServerPacketType_vCont_actions, eServerPacketType_vFile_close, eServerPacketType_vFile_exists, eServerPacketType_vFile_md5, eServerPacketType_vFile_mode, eServerPacketType_vFile_open, eServerPacketType_vFile_pread, eServerPacketType_vFile_pwrite, eServerPacketType_vFile_size, eServerPacketType_vFile_stat, eServerPacketType_vFile_symlink, eServerPacketType_vFile_unlink, eServerPacketType_x, eServerPacketType_X, eServerPacketType_Z, eServerPacketType_z, StringExtractor::m_packet, PACKET_MATCHES, and PACKET_STARTS_WITH.

Referenced by lldb_private::process_gdb_remote::GDBRemoteCommunicationServer::GetPacketAndSendResponse().

◆ GetStatus()

lldb_private::Status StringExtractorGDBRemote::GetStatus ( )

◆ IsErrorResponse()

bool StringExtractorGDBRemote::IsErrorResponse ( ) const

◆ IsNormalResponse()

bool StringExtractorGDBRemote::IsNormalResponse ( ) const

Definition at line 448 of file StringExtractorGDBRemote.cpp.

References eResponse, and GetResponseType().

Referenced by lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::DecodeProcessInfoResponse(), lldb_private::process_gdb_remote::ProcessGDBRemote::DoReadMemory(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::GetCurrentProcessInfo(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::GetCurrentThreadIDs(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::GetDefaultThreadId(), lldb_private::process_gdb_remote::ProcessGDBRemote::GetFileLoadAddress(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::GetGDBServerVersion(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::GetGroupName(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::GetHostInfo(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::GetpPacketSupported(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::GetShlibInfoAddr(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::GetStopReply(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::GetThreadStopInfo(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::GetUserName(), lldb_private::process_gdb_remote::ProcessGDBRemote::HandleStopReplySequence(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::ReadAllRegisters(), lldb_private::process_gdb_remote::GDBRemoteCommunication::ReadPacketWithOutputSupport(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::ReadRegister(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::SendGetTraceConfigPacket(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::SendGetTraceDataPacket(), and lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::SendStartTracePacket().

◆ IsOKResponse()

bool StringExtractorGDBRemote::IsOKResponse ( ) const

Definition at line 440 of file StringExtractorGDBRemote.cpp.

References eOK, and GetResponseType().

Referenced by lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::DeallocateMemory(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::Detach(), lldb_private::process_gdb_remote::ProcessGDBRemote::DoWriteMemory(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::EnableErrorStringInPacket(), lldb_private::process_gdb_remote::ProcessGDBRemote::FlashDone(), lldb_private::process_gdb_remote::ProcessGDBRemote::FlashErase(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::GetLaunchSuccess(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::GetListThreadsInStopReplySupported(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::GetLoadedDynamicLibrariesInfosSupported(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::GetSharedCacheInfoSupported(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::GetSyncThreadStateSupported(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::GetThreadExtendedInfoSupported(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::GetThreadSuffixSupported(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::GetVAttachOrWaitSupported(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::GetxPacketSupported(), lldb_private::process_gdb_remote::ProcessGDBRemote::HandleStopReplySequence(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::KillSpawnedProcess(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::MaybeEnableCompression(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::QueryNoAckModeSupported(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::RestoreRegisterState(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::SendArgumentsPacket(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::SendEnvironmentPacket(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::SendGDBStoppointTypePacket(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::SendLaunchArchPacket(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::SendLaunchEventDataPacket(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::SendSignalsToIgnore(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::SendStopTracePacket(), lldb_private::process_gdb_remote::GDBRemoteClientBase::SendvContPacket(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::ServeSymbolLookups(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::SetCurrentThread(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::SetCurrentThreadForRun(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::SetDetachOnError(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::SetDisableASLR(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::SetNonStopMode(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::SetSTDERR(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::SetSTDIN(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::SetSTDOUT(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::SetWorkingDir(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::SyncThreadState(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::WriteAllRegisters(), and lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::WriteRegister().

◆ IsUnsupportedResponse()

bool StringExtractorGDBRemote::IsUnsupportedResponse ( ) const

Definition at line 444 of file StringExtractorGDBRemote.cpp.

References eUnsupported, and GetResponseType().

Referenced by lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::AllocateMemory(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::DeallocateMemory(), lldb_private::process_gdb_remote::ProcessGDBRemote::DoReadMemory(), lldb_private::process_gdb_remote::ProcessGDBRemote::DoWriteMemory(), lldb_private::process_gdb_remote::ProcessGDBRemote::FlashDone(), lldb_private::process_gdb_remote::ProcessGDBRemote::FlashErase(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::GetCurrentThreadIDs(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::GetModuleInfo(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::GetModulesInfo(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::GetThreadsInfo(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::GetThreadStopInfo(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::GetWorkingDir(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::RestoreRegisterState(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::SaveRegisterState(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::SendEnvironmentPacket(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::SendGDBStoppointTypePacket(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::SendLaunchEventDataPacket(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::ServeSymbolLookups(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::SetCurrentThread(), and lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::SetCurrentThreadForRun().

◆ SetResponseValidator()

void StringExtractorGDBRemote::SetResponseValidator ( ResponseValidatorCallback  callback,
void *  baton 
)

Definition at line 579 of file StringExtractorGDBRemote.cpp.

References m_validator, and m_validator_baton.

Referenced by ~StringExtractorGDBRemote().

◆ SetResponseValidatorToASCIIHexBytes()

void StringExtractorGDBRemote::SetResponseValidatorToASCIIHexBytes ( )

◆ SetResponseValidatorToJSON()

void StringExtractorGDBRemote::SetResponseValidatorToJSON ( )

◆ SetResponseValidatorToOKErrorNotSupported()

void StringExtractorGDBRemote::SetResponseValidatorToOKErrorNotSupported ( )

◆ ValidateResponse()

bool StringExtractorGDBRemote::ValidateResponse ( ) const

Member Data Documentation

◆ m_validator

ResponseValidatorCallback StringExtractorGDBRemote::m_validator
protected

◆ m_validator_baton

void* StringExtractorGDBRemote::m_validator_baton
protected

The documentation for this class was generated from the following files: