5#ifndef V8_DEBUG_WASM_GDB_SERVER_GDB_REMOTE_UTIL_H_
6#define V8_DEBUG_WASM_GDB_SERVER_GDB_REMOTE_UTIL_H_
18#define TRACE_GDB_REMOTE(...) \
20 if (v8_flags.trace_wasm_gdb_remote) PrintF("[gdb-remote] " __VA_ARGS__); \
28bool HexToUInt8(
const char chars[2], uint8_t*
byte);
40std::string
Mem2Hex(
const std::string& str);
58 inline operator uint64_t()
const {
wasm_addr_t(uint64_t address)
uint32_t ModuleId() const
wasm_addr_t(uint32_t module_id, uint32_t offset)
void UInt8ToHex(uint8_t byte, char chars[2])
std::string Mem2Hex(const uint8_t *mem, size_t count)
bool NibbleToUInt8(char ch, uint8_t *byte)
std::vector< std::string > StringSplit(const string &instr, const char *delim)
bool HexToUInt8(const char chars[2], uint8_t *byte)
#define V8_EXPORT_PRIVATE