A class that represents a platform that can represent the current host
or a remote host debug platform.
The SBPlatform class represents the current host, or a remote host. It
can be connected to a remote platform in order to provide ways to
remotely launch and attach to processes, upload/download files, create
directories, run remote shell commands, find locally cached versions of
files from the remote system, and much more.
SBPlatform objects can be created and then used to connect to a remote
platform which allows the SBPlatform to be used to get a list of the
current processes on the remote host, attach to one of those processes,
install programs on the remote system, attach and launch processes, and
much more.
Every SBTarget has a corresponding SBPlatform. The platform can be
specified upon target creation, or the currently selected platform will
attempt to be used when creating the target automatically as long as the
currently selected platform matches the target architecture and
executable type. If the architecture or executable type do not match, a
suitable platform will be found automatically.
|
|
|
__init__(self,
*args)
__init__(lldb::SBPlatform self) -> SBPlatform
__init__(lldb::SBPlatform self, char const * arg2) -> SBPlatform |
source code
|
|
|
IsValid(self)
IsValid(SBPlatform self) -> bool |
source code
|
|
|
|
|
|
|
|
|
GetWorkingDirectory(self)
GetWorkingDirectory(SBPlatform self) -> char const * |
source code
|
|
|
SetWorkingDirectory(self,
*args)
SetWorkingDirectory(SBPlatform self, char const * arg2) -> bool |
source code
|
|
|
GetName(self)
GetName(SBPlatform self) -> char const * |
source code
|
|
|
ConnectRemote(self,
*args)
ConnectRemote(SBPlatform self, SBPlatformConnectOptions
connect_options) -> SBError |
source code
|
|
|
DisconnectRemote(self)
DisconnectRemote(SBPlatform self) |
source code
|
|
|
IsConnected(self)
IsConnected(SBPlatform self) -> bool |
source code
|
|
|
GetTriple(self)
GetTriple(SBPlatform self) -> char const * |
source code
|
|
|
GetHostname(self)
GetHostname(SBPlatform self) -> char const * |
source code
|
|
|
GetOSBuild(self)
GetOSBuild(SBPlatform self) -> char const * |
source code
|
|
|
GetOSDescription(self)
GetOSDescription(SBPlatform self) -> char const * |
source code
|
|
|
GetOSMajorVersion(self)
GetOSMajorVersion(SBPlatform self) -> uint32_t |
source code
|
|
|
GetOSMinorVersion(self)
GetOSMinorVersion(SBPlatform self) -> uint32_t |
source code
|
|
|
GetOSUpdateVersion(self)
GetOSUpdateVersion(SBPlatform self) -> uint32_t |
source code
|
|
|
Get(self,
*args)
Get(SBPlatform self, SBFileSpec src, SBFileSpec dst) -> SBError |
source code
|
|
|
Put(self,
*args)
Put(SBPlatform self, SBFileSpec src, SBFileSpec dst) -> SBError |
source code
|
|
|
Install(self,
*args)
Install(SBPlatform self, SBFileSpec src, SBFileSpec dst) ->
SBError |
source code
|
|
|
Run(self,
*args)
Run(SBPlatform self, SBPlatformShellCommand shell_command) ->
SBError |
source code
|
|
|
Launch(self,
*args)
Launch(SBPlatform self, SBLaunchInfo launch_info) -> SBError |
source code
|
|
|
Kill(self,
*args)
Kill(SBPlatform self, lldb::pid_t const pid) -> SBError |
source code
|
|
|
MakeDirectory(self,
*args)
MakeDirectory(SBPlatform self, char const * path, uint32_t
file_permissions=eFilePermissionsDirectoryDefault) -> SBError
MakeDirectory(SBPlatform self, char const * path) -> SBError |
source code
|
|
|
GetFilePermissions(self,
*args)
GetFilePermissions(SBPlatform self, char const * path) -> uint32_t |
source code
|
|
|
SetFilePermissions(self,
*args)
SetFilePermissions(SBPlatform self, char const * path, uint32_t
file_permissions) -> SBError |
source code
|
|
|
GetUnixSignals(self)
GetUnixSignals(SBPlatform self) -> SBUnixSignals |
source code
|
|