#include "lldb/API/SBLaunchInfo.h"
#include "lldb/Utility/Instrumentation.h"
#include "lldb/API/SBEnvironment.h"
#include "lldb/API/SBError.h"
#include "lldb/API/SBFileSpec.h"
#include "lldb/API/SBListener.h"
#include "lldb/API/SBStream.h"
#include "lldb/API/SBStructuredData.h"
#include "lldb/Core/StructuredDataImpl.h"
#include "lldb/Host/ProcessLaunchInfo.h"
#include "lldb/Utility/Listener.h"
#include "lldb/Utility/ScriptedMetadata.h"
usingnamespacelldb;
usingnamespacelldb_private;
class lldb_private::SBLaunchInfoImpl : public ProcessLaunchInfo { … };
SBLaunchInfo::SBLaunchInfo(const char **argv)
: … { … }
SBLaunchInfo::SBLaunchInfo(const SBLaunchInfo &rhs) { … }
SBLaunchInfo &SBLaunchInfo::operator=(const SBLaunchInfo &rhs) { … }
SBLaunchInfo::~SBLaunchInfo() = default;
const lldb_private::ProcessLaunchInfo &SBLaunchInfo::ref() const { … }
void SBLaunchInfo::set_ref(const ProcessLaunchInfo &info) { … }
lldb::pid_t SBLaunchInfo::GetProcessID() { … }
uint32_t SBLaunchInfo::GetUserID() { … }
uint32_t SBLaunchInfo::GetGroupID() { … }
bool SBLaunchInfo::UserIDIsValid() { … }
bool SBLaunchInfo::GroupIDIsValid() { … }
void SBLaunchInfo::SetUserID(uint32_t uid) { … }
void SBLaunchInfo::SetGroupID(uint32_t gid) { … }
SBFileSpec SBLaunchInfo::GetExecutableFile() { … }
void SBLaunchInfo::SetExecutableFile(SBFileSpec exe_file,
bool add_as_first_arg) { … }
SBListener SBLaunchInfo::GetListener() { … }
void SBLaunchInfo::SetListener(SBListener &listener) { … }
uint32_t SBLaunchInfo::GetNumArguments() { … }
const char *SBLaunchInfo::GetArgumentAtIndex(uint32_t idx) { … }
void SBLaunchInfo::SetArguments(const char **argv, bool append) { … }
uint32_t SBLaunchInfo::GetNumEnvironmentEntries() { … }
const char *SBLaunchInfo::GetEnvironmentEntryAtIndex(uint32_t idx) { … }
void SBLaunchInfo::SetEnvironmentEntries(const char **envp, bool append) { … }
void SBLaunchInfo::SetEnvironment(const SBEnvironment &env, bool append) { … }
SBEnvironment SBLaunchInfo::GetEnvironment() { … }
void SBLaunchInfo::Clear() { … }
const char *SBLaunchInfo::GetWorkingDirectory() const { … }
void SBLaunchInfo::SetWorkingDirectory(const char *working_dir) { … }
uint32_t SBLaunchInfo::GetLaunchFlags() { … }
void SBLaunchInfo::SetLaunchFlags(uint32_t flags) { … }
const char *SBLaunchInfo::GetProcessPluginName() { … }
void SBLaunchInfo::SetProcessPluginName(const char *plugin_name) { … }
const char *SBLaunchInfo::GetShell() { … }
void SBLaunchInfo::SetShell(const char *path) { … }
bool SBLaunchInfo::GetShellExpandArguments() { … }
void SBLaunchInfo::SetShellExpandArguments(bool expand) { … }
uint32_t SBLaunchInfo::GetResumeCount() { … }
void SBLaunchInfo::SetResumeCount(uint32_t c) { … }
bool SBLaunchInfo::AddCloseFileAction(int fd) { … }
bool SBLaunchInfo::AddDuplicateFileAction(int fd, int dup_fd) { … }
bool SBLaunchInfo::AddOpenFileAction(int fd, const char *path, bool read,
bool write) { … }
bool SBLaunchInfo::AddSuppressFileAction(int fd, bool read, bool write) { … }
void SBLaunchInfo::SetLaunchEventData(const char *data) { … }
const char *SBLaunchInfo::GetLaunchEventData() const { … }
void SBLaunchInfo::SetDetachOnError(bool enable) { … }
bool SBLaunchInfo::GetDetachOnError() const { … }
const char *SBLaunchInfo::GetScriptedProcessClassName() const { … }
void SBLaunchInfo::SetScriptedProcessClassName(const char *class_name) { … }
lldb::SBStructuredData SBLaunchInfo::GetScriptedProcessDictionary() const { … }
void SBLaunchInfo::SetScriptedProcessDictionary(lldb::SBStructuredData dict) { … }
SBListener SBLaunchInfo::GetShadowListener() { … }
void SBLaunchInfo::SetShadowListener(SBListener &listener) { … }