LLDB mainline
Functions
NativeProcessSoftwareSingleStep.cpp File Reference
#include "NativeProcessSoftwareSingleStep.h"
#include "lldb/Core/EmulateInstruction.h"
#include "lldb/Host/common/NativeRegisterContext.h"
#include "lldb/Utility/RegisterValue.h"
#include <unordered_map>

Go to the source code of this file.

Functions

static size_t ReadMemoryCallback (EmulateInstruction *instruction, void *baton, const EmulateInstruction::Context &context, lldb::addr_t addr, void *dst, size_t length)
 
static bool ReadRegisterCallback (EmulateInstruction *instruction, void *baton, const RegisterInfo *reg_info, RegisterValue &reg_value)
 
static bool WriteRegisterCallback (EmulateInstruction *instruction, void *baton, const EmulateInstruction::Context &context, const RegisterInfo *reg_info, const RegisterValue &reg_value)
 
static size_t WriteMemoryCallback (EmulateInstruction *instruction, void *baton, const EmulateInstruction::Context &context, lldb::addr_t addr, const void *dst, size_t length)
 
static lldb::addr_t ReadFlags (NativeRegisterContext &regsiter_context)
 
static int GetSoftwareBreakpointSize (const ArchSpec &arch, lldb::addr_t next_flags)
 
static Status SetSoftwareBreakpointOnPC (const ArchSpec &arch, lldb::addr_t pc, lldb::addr_t next_flags, NativeProcessProtocol &process)
 

Function Documentation

◆ GetSoftwareBreakpointSize()

static int GetSoftwareBreakpointSize ( const ArchSpec arch,
lldb::addr_t  next_flags 
)
static

◆ ReadFlags()

static lldb::addr_t ReadFlags ( NativeRegisterContext regsiter_context)
static

◆ ReadMemoryCallback()

static size_t ReadMemoryCallback ( EmulateInstruction instruction,
void *  baton,
const EmulateInstruction::Context context,
lldb::addr_t  addr,
void *  dst,
size_t  length 
)
static

◆ ReadRegisterCallback()

static bool ReadRegisterCallback ( EmulateInstruction instruction,
void *  baton,
const RegisterInfo reg_info,
RegisterValue reg_value 
)
static

◆ SetSoftwareBreakpointOnPC()

static Status SetSoftwareBreakpointOnPC ( const ArchSpec arch,
lldb::addr_t  pc,
lldb::addr_t  next_flags,
NativeProcessProtocol process 
)
static

◆ WriteMemoryCallback()

static size_t WriteMemoryCallback ( EmulateInstruction instruction,
void *  baton,
const EmulateInstruction::Context context,
lldb::addr_t  addr,
const void *  dst,
size_t  length 
)
static

◆ WriteRegisterCallback()

static bool WriteRegisterCallback ( EmulateInstruction instruction,
void *  baton,
const EmulateInstruction::Context context,
const RegisterInfo reg_info,
const RegisterValue reg_value 
)
static