|
static void | Initialize () |
|
static CPUType | GetCPUType () |
|
static CPUSubType | GetCPUSubType () |
|
static Endian | GetEndian () |
|
static size_t | GetPointerSize () |
|
static size_t | GetPageSize () |
|
static char const * | GetHostName (bool fqdn=false) |
|
static char const * | GetOSTypeName () |
|
static char const * | GetOSVendorName () |
|
static char const * | GetOSVersion () |
|
static char const * | GetOSBuild () |
|
static char const * | GetOSKernelVersion () |
|
static bool | GetUserName (UserId const &uid, std::string &name) |
|
static bool | GetGroupName (GroupId const &gid, std::string &name) |
|
static int | OpenFile (std::string const &path, uint32_t flags, uint32_t mode) |
|
static bool | CloseFile (int fd) |
|
static bool | IsFilePresent (std::string const &path) |
|
static std::string | GetWorkingDirectory () |
|
static bool | SetWorkingDirectory (std::string const &directory) |
|
static ProcessId | GetCurrentProcessId () |
|
static const char * | GetSelfExecutablePath () |
|
static bool | GetCurrentEnvironment (EnvironmentBlock &env) |
|
static ErrorCode | TranslateError () |
|
static bool | GetProcessInfo (ProcessId pid, ProcessInfo &info) |
|
static void | EnumerateProcesses (bool allUsers, UserId const &uid, std::function< void(ProcessInfo const &info)> const &cb) |
|
static bool | TerminateProcess (ProcessId pid) |
|
static std::string | GetThreadName (ProcessId pid, ThreadId tid) |
|
static bool | GetExecutableFileBuildID (std::string const &path, ByteVector &buildId) |
|
The documentation for this class was generated from the following files:
- Headers/DebugServer2/Host/Platform.h
- Sources/Host/Common/Platform.cpp
- Sources/Host/Darwin/Platform.cpp
- Sources/Host/FreeBSD/Platform.cpp
- Sources/Host/Linux/Platform.cpp
- Sources/Host/POSIX/Platform.cpp
- Sources/Host/Windows/Platform.cpp