Go to the documentation of this file.
28 const char *
const *
GetEnvp()
const {
return m_envp; }
32 ProcessLaunchInfo::operator=(rhs);
45 m_opaque_sp->GetFlags().Reset(eLaunchFlagDebug | eLaunchFlagDisableASLR);
122 bool add_as_first_arg) {
143 return m_opaque_sp->GetArguments().GetArgumentCount();
149 return m_opaque_sp->GetArguments().GetArgumentAtIndex(idx);
189 for (
auto &KV : refEnv)
190 m_opaque_sp->GetEnvironment().insert_or_assign(KV.first(), KV.second);
210 return m_opaque_sp->GetWorkingDirectory().GetCString();
240 return m_opaque_sp->SetProcessPluginName(plugin_name);
291 return m_opaque_sp->AppendDuplicateFileAction(fd, dup_fd);
304 return m_opaque_sp->AppendSuppressFileAction(fd, read, write);
343 m_opaque_sp->SetScriptedProcessClassName(class_name);
369 std::make_shared<StructuredData::Dictionary>(obj_sp);
373 m_opaque_sp->SetScriptedProcessDictionarySP(dict_sp);
const char * GetWorkingDirectory() const
uint32_t GetNumEnvironmentEntries()
void SetResumeCount(uint32_t c)
lldb_private::Environment & ref() const
uint32_t GetResumeCount()
class LLDB_API SBListener
void SetUserID(uint32_t uid)
class LLDB_API SBEnvironment
const char * AsCString(const char *value_if_empty=nullptr) const
Get the string value as a C string.
bool GetShellExpandArguments()
const char * GetLaunchEventData() const
lldb::SBStructuredData GetScriptedProcessDictionary() const
bool AddDuplicateFileAction(int fd, int dup_fd)
SBLaunchInfo & operator=(const SBLaunchInfo &rhs)
void SetScriptedProcessDictionary(lldb::SBStructuredData dict)
bool GetDetachOnError() const
void SetListener(SBListener &listener)
Set the listener that will be used to receive process events.
StructuredDataImplUP m_impl_up
@ eStructuredDataTypeInvalid
std::shared_ptr< lldb_private::SBLaunchInfoImpl > m_opaque_sp
void SetEnvironmentEntries(const char **envp, bool append)
Update this object with the given environment variables.
SBListener GetListener()
Get the listener that will be used to receive process events.
bool AddCloseFileAction(int fd)
void SetLaunchFlags(uint32_t flags)
std::shared_ptr< Object > ObjectSP
void SetLaunchEventData(const char *data)
SBFileSpec GetExecutableFile()
const lldb_private::FileSpec & ref() const
SBLaunchInfoImpl & operator=(const ProcessLaunchInfo &rhs)
const char * GetArgumentAtIndex(uint32_t idx)
std::shared_ptr< Dictionary > DictionarySP
void SetDetachOnError(bool enable)
SBLaunchInfo(const char **argv)
SBEnvironment GetEnvironment()
Return the environment variables of this object.
uint32_t GetNumArguments()
void SetExecutableFile(SBFileSpec exe_file, bool add_as_first_arg)
Set the executable file that will be used to launch the process and optionally set it as the first ar...
const char * GetEnvironmentEntryAtIndex(uint32_t idx)
uint32_t GetLaunchFlags()
const lldb_private::ProcessLaunchInfo & ref() const
lldb::pid_t GetProcessID()
bool AddOpenFileAction(int fd, const char *path, bool read, bool write)
void SetGroupID(uint32_t gid)
void set_ref(const lldb_private::ProcessLaunchInfo &info)
void SetEnvironment(const SBEnvironment &env, bool append)
Update this object with the given environment variables.
A class that represents a running process on the host machine.
void SetArguments(const char **argv, bool append)
void SetWorkingDirectory(const char *working_dir)
#define LLDB_INSTRUMENT_VA(...)
const char * GetScriptedProcessClassName() const
const char *const * GetEnvp() const
bool AddSuppressFileAction(int fd, bool read, bool write)
void SetScriptedProcessClassName(const char *class_name)
void SetShellExpandArguments(bool expand)
void SetProcessPluginName(const char *plugin_name)
class LLDB_API SBFileSpec
void SetShell(const char *path)
const char * GetProcessPluginName()