LLDB  mainline
Classes | Functions
ProcessFreeBSD.cpp File Reference
#include <errno.h>
#include <pthread.h>
#include <pthread_np.h>
#include <stdlib.h>
#include <sys/sysctl.h>
#include <sys/types.h>
#include <sys/user.h>
#include <machine/elf.h>
#include <mutex>
#include <unordered_map>
#include "lldb/Core/PluginManager.h"
#include "lldb/Host/FileSystem.h"
#include "lldb/Host/Host.h"
#include "lldb/Symbol/ObjectFile.h"
#include "lldb/Target/DynamicLoader.h"
#include "lldb/Target/Target.h"
#include "lldb/Utility/RegisterValue.h"
#include "lldb/Utility/State.h"
#include "FreeBSDThread.h"
#include "Plugins/Process/POSIX/ProcessPOSIXLog.h"
#include "Plugins/Process/Utility/FreeBSDSignals.h"
#include "Plugins/Process/Utility/InferiorCallPOSIX.h"
#include "ProcessFreeBSD.h"
#include "ProcessMonitor.h"
#include "lldb/Breakpoint/BreakpointLocation.h"
#include "lldb/Breakpoint/Watchpoint.h"
#include "lldb/Core/Module.h"
#include "lldb/Core/ModuleSpec.h"
#include "lldb/Target/Platform.h"
#include "lldb/Utility/DataBufferHeap.h"
#include "lldb/Utility/FileSpec.h"
#include "lldb/Host/posix/Fcntl.h"
#include "llvm/Support/FileSystem.h"
#include "llvm/Support/Threading.h"
Include dependency graph for ProcessFreeBSD.cpp:

Go to the source code of this file.

Classes

struct  EmulatorBaton
 

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)
 

Function Documentation

◆ 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

Definition at line 920 of file ProcessFreeBSD.cpp.

References lldb::eRegisterKindDWARF.

Referenced by ProcessFreeBSD::SetupSoftwareSingleStepping().

◆ WriteMemoryCallback()

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

Definition at line 954 of file ProcessFreeBSD.cpp.

Referenced by ProcessFreeBSD::SetupSoftwareSingleStepping().

◆ WriteRegisterCallback()

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

Definition at line 944 of file ProcessFreeBSD.cpp.

References lldb::eRegisterKindDWARF.

Referenced by ProcessFreeBSD::SetupSoftwareSingleStepping().