llvm/lldb/source/Utility/StringExtractorGDBRemote.cpp

//===-- StringExtractorGDBRemote.cpp --------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//

#include "lldb/Utility/StringExtractorGDBRemote.h"

#include <cctype>
#include <cstring>
#include <optional>

constexpr lldb::pid_t StringExtractorGDBRemote::AllProcesses;
constexpr lldb::tid_t StringExtractorGDBRemote::AllThreads;

StringExtractorGDBRemote::ResponseType
StringExtractorGDBRemote::GetResponseType() const {}

StringExtractorGDBRemote::ServerPacketType
StringExtractorGDBRemote::GetServerPacketType() const {}

bool StringExtractorGDBRemote::IsOKResponse() const {}

bool StringExtractorGDBRemote::IsUnsupportedResponse() const {}

bool StringExtractorGDBRemote::IsNormalResponse() const {}

bool StringExtractorGDBRemote::IsErrorResponse() const {}

uint8_t StringExtractorGDBRemote::GetError() {}

lldb_private::Status StringExtractorGDBRemote::GetStatus() {}

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

static bool
OKErrorNotSupportedResponseValidator(void *,
                                     const StringExtractorGDBRemote &response) {}

static bool JSONResponseValidator(void *,
                                  const StringExtractorGDBRemote &response) {}

static bool
ASCIIHexBytesResponseValidator(void *,
                               const StringExtractorGDBRemote &response) {}

void StringExtractorGDBRemote::CopyResponseValidator(
    const StringExtractorGDBRemote &rhs) {}

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

void StringExtractorGDBRemote::SetResponseValidatorToOKErrorNotSupported() {}

void StringExtractorGDBRemote::SetResponseValidatorToASCIIHexBytes() {}

void StringExtractorGDBRemote::SetResponseValidatorToJSON() {}

bool StringExtractorGDBRemote::ValidateResponse() const {}

std::optional<std::pair<lldb::pid_t, lldb::tid_t>>
StringExtractorGDBRemote::GetPidTid(lldb::pid_t default_pid) {}