#include "CommandObjectPlatform.h"
#include "CommandOptionsProcessAttach.h"
#include "CommandOptionsProcessLaunch.h"
#include "lldb/Core/Debugger.h"
#include "lldb/Core/Module.h"
#include "lldb/Core/PluginManager.h"
#include "lldb/Host/OptionParser.h"
#include "lldb/Interpreter/CommandInterpreter.h"
#include "lldb/Interpreter/CommandOptionArgumentTable.h"
#include "lldb/Interpreter/CommandOptionValidators.h"
#include "lldb/Interpreter/CommandReturnObject.h"
#include "lldb/Interpreter/OptionGroupFile.h"
#include "lldb/Interpreter/OptionGroupPlatform.h"
#include "lldb/Interpreter/OptionGroupPythonClassWithDict.h"
#include "lldb/Target/ExecutionContext.h"
#include "lldb/Target/Platform.h"
#include "lldb/Target/Process.h"
#include "lldb/Utility/Args.h"
#include "lldb/Utility/ScriptedMetadata.h"
#include "lldb/Utility/State.h"
#include "llvm/ADT/SmallString.h"
usingnamespacelldb;
usingnamespacelldb_private;
static mode_t ParsePermissionString(const char *) = delete;
static mode_t ParsePermissionString(llvm::StringRef permissions) { … }
#define LLDB_OPTIONS_permissions
#include "CommandOptions.inc"
class OptionPermissions : public OptionGroup { … };
class CommandObjectPlatformSelect : public CommandObjectParsed { … };
class CommandObjectPlatformList : public CommandObjectParsed { … };
class CommandObjectPlatformStatus : public CommandObjectParsed { … };
class CommandObjectPlatformConnect : public CommandObjectParsed { … };
class CommandObjectPlatformDisconnect : public CommandObjectParsed { … };
class CommandObjectPlatformSettings : public CommandObjectParsed { … };
class CommandObjectPlatformMkDir : public CommandObjectParsed { … };
class CommandObjectPlatformFOpen : public CommandObjectParsed { … };
class CommandObjectPlatformFClose : public CommandObjectParsed { … };
#define LLDB_OPTIONS_platform_fread
#include "CommandOptions.inc"
class CommandObjectPlatformFRead : public CommandObjectParsed { … };
#define LLDB_OPTIONS_platform_fwrite
#include "CommandOptions.inc"
class CommandObjectPlatformFWrite : public CommandObjectParsed { … };
class CommandObjectPlatformFile : public CommandObjectMultiword { … };
class CommandObjectPlatformGetFile : public CommandObjectParsed { … };
class CommandObjectPlatformGetSize : public CommandObjectParsed { … };
class CommandObjectPlatformGetPermissions : public CommandObjectParsed { … };
class CommandObjectPlatformFileExists : public CommandObjectParsed { … };
class CommandObjectPlatformPutFile : public CommandObjectParsed { … };
class CommandObjectPlatformProcessLaunch : public CommandObjectParsed { … };
static PosixPlatformCommandOptionValidator posix_validator;
#define LLDB_OPTIONS_platform_process_list
#include "CommandOptions.inc"
class CommandObjectPlatformProcessList : public CommandObjectParsed { … };
class CommandObjectPlatformProcessInfo : public CommandObjectParsed { … };
#define LLDB_OPTIONS_platform_process_attach
#include "CommandOptions.inc"
class CommandObjectPlatformProcessAttach : public CommandObjectParsed { … };
class CommandObjectPlatformProcess : public CommandObjectMultiword { … };
#define LLDB_OPTIONS_platform_shell
#include "CommandOptions.inc"
class CommandObjectPlatformShell : public CommandObjectRaw { … };
class CommandObjectPlatformInstall : public CommandObjectParsed { … };
CommandObjectPlatform::CommandObjectPlatform(CommandInterpreter &interpreter)
: … { … }
CommandObjectPlatform::~CommandObjectPlatform() = default;