LLDB mainline
|
#include "lldb/Utility/StringExtractorGDBRemote.h"
#include <cctype>
#include <cstring>
#include <optional>
Go to the source code of this file.
Macros | |
#define | PACKET_MATCHES(s) ((packet_size == (sizeof(s) - 1)) && (strcmp((packet_cstr), (s)) == 0)) |
#define | PACKET_STARTS_WITH(s) |
Functions | |
static bool | OKErrorNotSupportedResponseValidator (void *, const StringExtractorGDBRemote &response) |
static bool | JSONResponseValidator (void *, const StringExtractorGDBRemote &response) |
static bool | ASCIIHexBytesResponseValidator (void *, const StringExtractorGDBRemote &response) |
#define PACKET_MATCHES | ( | s | ) | ((packet_size == (sizeof(s) - 1)) && (strcmp((packet_cstr), (s)) == 0)) |
#define PACKET_STARTS_WITH | ( | s | ) |
|
static |
Definition at line 576 of file StringExtractorGDBRemote.cpp.
References StringExtractorGDBRemote::eAck, StringExtractorGDBRemote::eError, StringExtractorGDBRemote::eNack, StringExtractorGDBRemote::eOK, StringExtractorGDBRemote::eResponse, StringExtractorGDBRemote::eUnsupported, StringExtractorGDBRemote::GetResponseType(), and StringExtractor::GetStringRef().
Referenced by StringExtractorGDBRemote::SetResponseValidatorToASCIIHexBytes().
|
static |
Definition at line 544 of file StringExtractorGDBRemote.cpp.
References StringExtractorGDBRemote::eAck, StringExtractorGDBRemote::eError, StringExtractorGDBRemote::eNack, StringExtractorGDBRemote::eOK, StringExtractorGDBRemote::eResponse, StringExtractorGDBRemote::eUnsupported, StringExtractorGDBRemote::GetResponseType(), and StringExtractor::GetStringRef().
Referenced by StringExtractorGDBRemote::SetResponseValidatorToJSON().
|
static |
Definition at line 528 of file StringExtractorGDBRemote.cpp.
References StringExtractorGDBRemote::eAck, StringExtractorGDBRemote::eError, StringExtractorGDBRemote::eNack, StringExtractorGDBRemote::eOK, StringExtractorGDBRemote::eResponse, StringExtractorGDBRemote::eUnsupported, and StringExtractorGDBRemote::GetResponseType().
Referenced by StringExtractorGDBRemote::SetResponseValidatorToOKErrorNotSupported().