LLDB mainline
|
#include <Process.h>
Public Member Functions | |
ProcessAttachInfo ()=default | |
ProcessAttachInfo (const ProcessLaunchInfo &launch_info) | |
bool | GetWaitForLaunch () const |
void | SetWaitForLaunch (bool b) |
bool | GetAsync () const |
void | SetAsync (bool b) |
bool | GetIgnoreExisting () const |
void | SetIgnoreExisting (bool b) |
bool | GetContinueOnceAttached () const |
void | SetContinueOnceAttached (bool b) |
uint32_t | GetResumeCount () const |
void | SetResumeCount (uint32_t c) |
const char * | GetProcessPluginName () const |
void | SetProcessPluginName (llvm::StringRef plugin) |
void | Clear () |
bool | ProcessInfoSpecified () const |
bool | GetDetachOnError () const |
void | SetDetachOnError (bool enable) |
lldb::ListenerSP | GetListenerForProcess (Debugger &debugger) |
![]() | |
ProcessInstanceInfo ()=default | |
ProcessInstanceInfo (const char *name, const ArchSpec &arch, lldb::pid_t pid) | |
void | Clear () |
uint32_t | GetEffectiveUserID () const |
uint32_t | GetEffectiveGroupID () const |
bool | EffectiveUserIDIsValid () const |
bool | EffectiveGroupIDIsValid () const |
void | SetEffectiveUserID (uint32_t uid) |
void | SetEffectiveGroupID (uint32_t gid) |
lldb::pid_t | GetParentProcessID () const |
void | SetParentProcessID (lldb::pid_t pid) |
bool | ParentProcessIDIsValid () const |
void | Dump (Stream &s, UserIDResolver &resolver) const |
void | DumpAsTableRow (Stream &s, UserIDResolver &resolver, bool show_args, bool verbose) const |
![]() | |
ProcessInfo () | |
ProcessInfo (const char *name, const ArchSpec &arch, lldb::pid_t pid) | |
void | Clear () |
const char * | GetName () const |
llvm::StringRef | GetNameAsStringRef () const |
FileSpec & | GetExecutableFile () |
void | SetExecutableFile (const FileSpec &exe_file, bool add_exe_file_as_first_arg) |
const FileSpec & | GetExecutableFile () const |
uint32_t | GetUserID () const |
uint32_t | GetGroupID () const |
bool | UserIDIsValid () const |
bool | GroupIDIsValid () const |
void | SetUserID (uint32_t uid) |
void | SetGroupID (uint32_t gid) |
ArchSpec & | GetArchitecture () |
const ArchSpec & | GetArchitecture () const |
void | SetArchitecture (const ArchSpec &arch) |
lldb::pid_t | GetProcessID () const |
void | SetProcessID (lldb::pid_t pid) |
bool | ProcessIDIsValid () const |
void | Dump (Stream &s, Platform *platform) const |
Args & | GetArguments () |
const Args & | GetArguments () const |
llvm::StringRef | GetArg0 () const |
void | SetArg0 (llvm::StringRef arg) |
void | SetArguments (const Args &args, bool first_arg_is_executable) |
void | SetArguments (char const **argv, bool first_arg_is_executable) |
Environment & | GetEnvironment () |
const Environment & | GetEnvironment () const |
bool | IsScriptedProcess () const |
lldb::ScriptedMetadataSP | GetScriptedMetadata () const |
void | SetScriptedMetadata (lldb::ScriptedMetadataSP metadata_sp) |
lldb::ListenerSP | GetListener () const |
void | SetListener (const lldb::ListenerSP &listener_sp) |
lldb::ListenerSP | GetHijackListener () const |
void | SetHijackListener (const lldb::ListenerSP &listener_sp) |
lldb::ListenerSP | GetShadowListener () const |
void | SetShadowListener (const lldb::ListenerSP &listener_sp) |
Protected Attributes | |
std::string | m_plugin_name |
uint32_t | m_resume_count = 0 |
bool | m_wait_for_launch = false |
bool | m_ignore_existing = true |
bool | m_continue_once_attached = false |
bool | m_detach_on_error |
bool | m_async |
![]() | |
uint32_t | m_euid = UINT32_MAX |
uint32_t | m_egid = UINT32_MAX |
lldb::pid_t | m_parent_pid = LLDB_INVALID_PROCESS_ID |
![]() | |
FileSpec | m_executable |
std::string | m_arg0 |
Args | m_arguments |
Environment | m_environment |
uint32_t | m_uid = UINT32_MAX |
uint32_t | m_gid = UINT32_MAX |
ArchSpec | m_arch |
lldb::pid_t | m_pid = LLDB_INVALID_PROCESS_ID |
lldb::ScriptedMetadataSP | m_scripted_metadata_sp = nullptr |
lldb::ListenerSP | m_listener_sp = nullptr |
lldb::ListenerSP | m_hijack_listener_sp = nullptr |
lldb::ListenerSP | m_shadow_listener_sp = nullptr |
Additional Inherited Members | |
![]() | |
static void | DumpTableHeader (Stream &s, bool show_args, bool verbose) |
|
default |
|
inline |
Definition at line 120 of file Process.h.
References lldb_private::ProcessLaunchInfo::GetDetachOnError(), lldb_private::ProcessLaunchInfo::GetProcessPluginName(), lldb_private::ProcessLaunchInfo::GetResumeCount(), m_detach_on_error, SetProcessPluginName(), and SetResumeCount().
|
inline |
Definition at line 158 of file Process.h.
References lldb_private::ProcessInstanceInfo::Clear(), m_continue_once_attached, m_ignore_existing, m_plugin_name, m_resume_count, and m_wait_for_launch.
Referenced by lldb_private::CommandOptionsProcessAttach::OptionParsingStarting().
|
inline |
Definition at line 134 of file Process.h.
References m_async.
Referenced by lldb_private::Target::Attach().
|
inline |
Definition at line 142 of file Process.h.
References m_continue_once_attached.
Referenced by lldb_private::ProcessDebugger::AttachProcess(), and CommandObjectProcessAttach::DoExecute().
|
inline |
Definition at line 177 of file Process.h.
References m_detach_on_error.
Referenced by lldb_private::process_gdb_remote::ProcessGDBRemote::DoAttachToProcessWithID(), and lldb_private::process_gdb_remote::ProcessGDBRemote::DoAttachToProcessWithName().
|
inline |
Definition at line 138 of file Process.h.
References m_ignore_existing.
Referenced by lldb_private::process_gdb_remote::ProcessGDBRemote::DoAttachToProcessWithName().
ListenerSP ProcessAttachInfo::GetListenerForProcess | ( | Debugger & | debugger | ) |
Definition at line 2793 of file Process.cpp.
References lldb_private::Debugger::GetListener(), and lldb_private::Process::m_listener_sp.
Referenced by PlatformPOSIX::Attach(), lldb_private::PlatformWindows::Attach(), lldb_private::platform_gdb_server::PlatformRemoteGDBServer::Attach(), and lldb_private::Target::Attach().
|
inline |
Definition at line 150 of file Process.h.
References m_plugin_name.
Referenced by lldb_private::PlatformWindows::Attach(), and lldb_private::Target::Attach().
|
inline |
Definition at line 146 of file Process.h.
References m_resume_count.
Referenced by lldb_private::Process::Attach().
|
inline |
Definition at line 130 of file Process.h.
References m_wait_for_launch.
Referenced by lldb_private::Process::Attach(), and lldb_private::process_gdb_remote::ProcessGDBRemote::DoAttachToProcessWithName().
|
inline |
Definition at line 167 of file Process.h.
References lldb_private::ProcessInfo::GetExecutableFile(), lldb_private::ProcessInstanceInfo::GetParentProcessID(), lldb_private::ProcessInfo::GetProcessID(), and LLDB_INVALID_PROCESS_ID.
Referenced by lldb_private::Target::Attach().
|
inline |
|
inline |
Definition at line 144 of file Process.h.
References m_continue_once_attached.
Referenced by lldb_private::CommandOptionsProcessAttach::SetOptionValue().
|
inline |
Definition at line 179 of file Process.h.
References m_detach_on_error.
|
inline |
Definition at line 140 of file Process.h.
References m_ignore_existing.
Referenced by lldb_private::CommandOptionsProcessAttach::SetOptionValue().
|
inline |
Definition at line 154 of file Process.h.
References m_plugin_name.
Referenced by CommandObjectPlatformProcessAttach::DoExecute(), CommandObjectProcessAttach::DoExecute(), ProcessAttachInfo(), and lldb_private::CommandOptionsProcessAttach::SetOptionValue().
|
inline |
Definition at line 148 of file Process.h.
References m_resume_count.
Referenced by ProcessAttachInfo().
|
inline |
Definition at line 132 of file Process.h.
References m_wait_for_launch.
Referenced by lldb::SBTarget::AttachToProcessWithName(), and lldb_private::CommandOptionsProcessAttach::SetOptionValue().
|
protected |
Definition at line 194 of file Process.h.
Referenced by GetAsync(), and SetAsync().
|
protected |
Definition at line 188 of file Process.h.
Referenced by Clear(), GetContinueOnceAttached(), and SetContinueOnceAttached().
|
protected |
Definition at line 191 of file Process.h.
Referenced by GetDetachOnError(), ProcessAttachInfo(), and SetDetachOnError().
|
protected |
Definition at line 187 of file Process.h.
Referenced by Clear(), GetIgnoreExisting(), and SetIgnoreExisting().
|
protected |
Definition at line 184 of file Process.h.
Referenced by Clear(), GetProcessPluginName(), and SetProcessPluginName().
|
protected |
Definition at line 185 of file Process.h.
Referenced by Clear(), GetResumeCount(), and SetResumeCount().
|
protected |
Definition at line 186 of file Process.h.
Referenced by Clear(), GetWaitForLaunch(), and SetWaitForLaunch().