LLDB mainline
|
#include <sys/types.h>
#include <sys/exec.h>
#include <sys/proc.h>
#include <sys/ptrace.h>
#include <sys/sysctl.h>
#include <sys/user.h>
#include <machine/elf.h>
#include <cstdio>
#include <dlfcn.h>
#include <execinfo.h>
#include "lldb/Host/Host.h"
#include "lldb/Host/HostInfo.h"
#include "lldb/Utility/DataBufferHeap.h"
#include "lldb/Utility/DataExtractor.h"
#include "lldb/Utility/Endian.h"
#include "lldb/Utility/Log.h"
#include "lldb/Utility/NameMatches.h"
#include "lldb/Utility/ProcessInfo.h"
#include "lldb/Utility/Status.h"
#include "lldb/Utility/StreamString.h"
#include "llvm/TargetParser/Host.h"
Go to the source code of this file.
Namespaces | |
namespace | lldb_private |
A class that represents a running process on the host machine. | |
Functions | |
static bool | GetFreeBSDProcessArgs (const ProcessInstanceInfoMatch *match_info_ptr, ProcessInstanceInfo &process_info) |
static bool | GetFreeBSDProcessCPUType (ProcessInstanceInfo &process_info) |
static bool | GetFreeBSDProcessUserAndGroup (ProcessInstanceInfo &process_info) |
Variables | |
char ** | environ |
|
static |
Definition at line 48 of file freebsd/Host.cpp.
References lldb_private::Args::AppendArgument(), lldb_private::ProcessInfo::GetArguments(), lldb_private::DataExtractor::GetCStr(), lldb_private::ConstString::GetCString(), lldb_private::ProcessInfo::GetExecutableFile(), lldb_private::FileSpec::GetFilename(), lldb_private::ProcessInfo::GetName(), lldb_private::ProcessInstanceInfoMatch::GetNameMatchType(), lldb_private::ProcessInfo::GetProcessID(), lldb_private::ProcessInstanceInfoMatch::GetProcessInfo(), lldb_private::endian::InlHostByteOrder(), lldb_private::NameMatches(), lldb_private::DataExtractor::PeekData(), lldb_private::ProcessInfo::ProcessIDIsValid(), lldb_private::ProcessInfo::SetArg0(), and lldb_private::FileSpec::SetFile().
Referenced by lldb_private::Host::FindProcessesImpl(), and lldb_private::Host::GetProcessInfo().
|
static |
Definition at line 107 of file freebsd/Host.cpp.
References lldb_private::ArchSpec::Clear(), lldb_private::ProcessInfo::GetArchitecture(), and lldb_private::ProcessInfo::ProcessIDIsValid().
Referenced by lldb_private::Host::FindProcessesImpl(), and lldb_private::Host::GetProcessInfo().
|
static |
Definition at line 117 of file freebsd/Host.cpp.
References error(), lldb_private::ProcessInfo::GetProcessID(), LLDB_INVALID_PROCESS_ID, lldb_private::ProcessInfo::ProcessIDIsValid(), lldb_private::ProcessInstanceInfo::SetEffectiveGroupID(), lldb_private::ProcessInstanceInfo::SetEffectiveUserID(), lldb_private::ProcessInfo::SetGroupID(), lldb_private::ProcessInstanceInfo::SetParentProcessID(), lldb_private::ProcessInfo::SetUserID(), and UINT32_MAX.
Referenced by lldb_private::Host::GetProcessInfo().
|
extern |
Referenced by lldb_private::Host::GetEnvironment().