LLDB  mainline
Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
lldb_private::ProcessInstanceInfo Class Reference

#include <ProcessInfo.h>

Inheritance diagram for lldb_private::ProcessInstanceInfo:
Inheritance graph
[legend]
Collaboration diagram for lldb_private::ProcessInstanceInfo:
Collaboration graph
[legend]

Public Member Functions

 ProcessInstanceInfo ()
 
 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
 
- Public Member Functions inherited from lldb_private::ProcessInfo
 ProcessInfo ()
 
 ProcessInfo (const char *name, const ArchSpec &arch, lldb::pid_t pid)
 
void Clear ()
 
const char * GetName () const
 
size_t GetNameLength () const
 
FileSpecGetExecutableFile ()
 
void SetExecutableFile (const FileSpec &exe_file, bool add_exe_file_as_first_arg)
 
const FileSpecGetExecutableFile () 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)
 
ArchSpecGetArchitecture ()
 
const ArchSpecGetArchitecture () 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
 
ArgsGetArguments ()
 
const ArgsGetArguments () 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)
 
EnvironmentGetEnvironment ()
 
const EnvironmentGetEnvironment () const
 

Static Public Member Functions

static void DumpTableHeader (Stream &s, bool show_args, bool verbose)
 

Protected Attributes

uint32_t m_euid
 
uint32_t m_egid
 
lldb::pid_t m_parent_pid
 
- Protected Attributes inherited from lldb_private::ProcessInfo
FileSpec m_executable
 
std::string m_arg0
 
Args m_arguments
 
Environment m_environment
 
uint32_t m_uid
 
uint32_t m_gid
 
ArchSpec m_arch
 
lldb::pid_t m_pid
 

Detailed Description

Definition at line 108 of file ProcessInfo.h.

Constructor & Destructor Documentation

◆ ProcessInstanceInfo() [1/2]

lldb_private::ProcessInstanceInfo::ProcessInstanceInfo ( )
inline

Definition at line 110 of file ProcessInfo.h.

◆ ProcessInstanceInfo() [2/2]

lldb_private::ProcessInstanceInfo::ProcessInstanceInfo ( const char *  name,
const ArchSpec arch,
lldb::pid_t  pid 
)
inline

Definition at line 114 of file ProcessInfo.h.

Member Function Documentation

◆ Clear()

void lldb_private::ProcessInstanceInfo::Clear ( )
inline

◆ Dump()

void ProcessInstanceInfo::Dump ( Stream s,
UserIDResolver resolver 
) const

◆ DumpAsTableRow()

void ProcessInstanceInfo::DumpAsTableRow ( Stream s,
UserIDResolver resolver,
bool  show_args,
bool  verbose 
) const

◆ DumpTableHeader()

void ProcessInstanceInfo::DumpTableHeader ( Stream s,
bool  show_args,
bool  verbose 
)
static

◆ EffectiveGroupIDIsValid()

bool lldb_private::ProcessInstanceInfo::EffectiveGroupIDIsValid ( ) const
inline

◆ EffectiveUserIDIsValid()

bool lldb_private::ProcessInstanceInfo::EffectiveUserIDIsValid ( ) const
inline

◆ GetEffectiveGroupID()

uint32_t lldb_private::ProcessInstanceInfo::GetEffectiveGroupID ( ) const
inline

◆ GetEffectiveUserID()

uint32_t lldb_private::ProcessInstanceInfo::GetEffectiveUserID ( ) const
inline

◆ GetParentProcessID()

lldb::pid_t lldb_private::ProcessInstanceInfo::GetParentProcessID ( ) const
inline

◆ ParentProcessIDIsValid()

bool lldb_private::ProcessInstanceInfo::ParentProcessIDIsValid ( ) const
inline

◆ SetEffectiveGroupID()

void lldb_private::ProcessInstanceInfo::SetEffectiveGroupID ( uint32_t  gid)
inline

◆ SetEffectiveUserID()

void lldb_private::ProcessInstanceInfo::SetEffectiveUserID ( uint32_t  uid)
inline

◆ SetParentProcessID()

void lldb_private::ProcessInstanceInfo::SetParentProcessID ( lldb::pid_t  pid)
inline

Member Data Documentation

◆ m_egid

uint32_t lldb_private::ProcessInstanceInfo::m_egid
protected

Definition at line 154 of file ProcessInfo.h.

◆ m_euid

uint32_t lldb_private::ProcessInstanceInfo::m_euid
protected

Definition at line 153 of file ProcessInfo.h.

◆ m_parent_pid

lldb::pid_t lldb_private::ProcessInstanceInfo::m_parent_pid
protected

Definition at line 155 of file ProcessInfo.h.


The documentation for this class was generated from the following files: