v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::internal::wasm::gdb_server Namespace Reference

Classes

class  GdbServer
 
class  GdbServerThread
 
class  Packet
 
class  Session
 
class  SocketBinding
 
class  SocketTransport
 
class  Target
 
class  TaskRunner
 
class  Transport
 
class  TransportBase
 
class  wasm_addr_t
 
class  WasmModuleDebug
 

Functions

void UInt8ToHex (uint8_t byte, char chars[2])
 
bool HexToUInt8 (const char chars[2], uint8_t *byte)
 
bool NibbleToUInt8 (char ch, uint8_t *byte)
 
std::vector< std::string > StringSplit (const string &instr, const char *delim)
 
std::string Mem2Hex (const uint8_t *mem, size_t count)
 
std::string Mem2Hex (const std::string &str)
 
std::vector< std::string > V8_EXPORT_PRIVATE StringSplit (const std::string &instr, const char *delim)
 
void DisableNagleAlgorithm (SocketHandle socket)
 
int GetLEB128Size (base::Vector< const uint8_t > module_bytes, int offset)
 
int ReturnPc (const NativeModule *native_module, int pc)
 
template<typename T >
bool StoreValue (const T &value, uint8_t *buffer, uint32_t buffer_size, uint32_t *size)
 

Variables

static const char kHexChars [] = "0123456789abcdef"
 
static const uint32_t kMaxWasmCallStack = 20
 
static const int kThreadId = 1
 
static const int kSigTrace = 5
 
static const int kSigSegv = 11
 

Function Documentation

◆ DisableNagleAlgorithm()

void v8::internal::wasm::gdb_server::DisableNagleAlgorithm ( SocketHandle socket)

Definition at line 97 of file transport.cc.

Here is the caller graph for this function:

◆ GetLEB128Size()

int v8::internal::wasm::gdb_server::GetLEB128Size ( base::Vector< const uint8_t > module_bytes,
int offset )

Definition at line 57 of file wasm-module-debug.cc.

Here is the caller graph for this function:

◆ HexToUInt8()

bool v8::internal::wasm::gdb_server::HexToUInt8 ( const char chars[2],
uint8_t * byte )

Definition at line 22 of file gdb-remote-util.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Mem2Hex() [1/2]

std::string v8::internal::wasm::gdb_server::Mem2Hex ( const std::string & str)

Definition at line 97 of file gdb-remote-util.cc.

Here is the call graph for this function:

◆ Mem2Hex() [2/2]

std::string v8::internal::wasm::gdb_server::Mem2Hex ( const uint8_t * mem,
size_t count )

Definition at line 90 of file gdb-remote-util.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ NibbleToUInt8()

bool v8::internal::wasm::gdb_server::NibbleToUInt8 ( char ch,
uint8_t * byte )

Definition at line 32 of file gdb-remote-util.cc.

Here is the caller graph for this function:

◆ ReturnPc()

int v8::internal::wasm::gdb_server::ReturnPc ( const NativeModule * native_module,
int pc )

Definition at line 63 of file wasm-module-debug.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ StoreValue()

template<typename T >
bool v8::internal::wasm::gdb_server::StoreValue ( const T & value,
uint8_t * buffer,
uint32_t buffer_size,
uint32_t * size )

Definition at line 382 of file wasm-module-debug.cc.

Here is the caller graph for this function:

◆ StringSplit() [1/2]

std::vector< std::string > V8_EXPORT_PRIVATE v8::internal::wasm::gdb_server::StringSplit ( const std::string & instr,
const char * delim )

◆ StringSplit() [2/2]

std::vector< std::string > v8::internal::wasm::gdb_server::StringSplit ( const string & instr,
const char * delim )

Definition at line 57 of file gdb-remote-util.cc.

Here is the caller graph for this function:

◆ UInt8ToHex()

void v8::internal::wasm::gdb_server::UInt8ToHex ( uint8_t byte,
char chars[2] )

Definition at line 16 of file gdb-remote-util.cc.

Here is the caller graph for this function:

Variable Documentation

◆ kHexChars

const char v8::internal::wasm::gdb_server::kHexChars[] = "0123456789abcdef"
static

Definition at line 14 of file gdb-remote-util.cc.

◆ kMaxWasmCallStack

const uint32_t v8::internal::wasm::gdb_server::kMaxWasmCallStack = 20
static

Definition at line 20 of file gdb-server.cc.

◆ kSigSegv

const int v8::internal::wasm::gdb_server::kSigSegv = 11
static

Definition at line 24 of file target.cc.

◆ kSigTrace

const int v8::internal::wasm::gdb_server::kSigTrace = 5
static

Definition at line 23 of file target.cc.

◆ kThreadId

const int v8::internal::wasm::gdb_server::kThreadId = 1
static

Definition at line 20 of file target.cc.