|
CommonLib
|
Functions | |
| template<ut::expr::any_string T> | |
| std::vector< T > | get_command_line () |
| std::filesystem::path | get_executable_path () |
| std::filesystem::path | get_module_path_from_address (const void *in_address) |
| std::filesystem::path | get_working_directory () |
| std::vector< stack_frame > | get_stack_trace (const void *in_context, const size_t in_max_frames) |
| bool | has_address (const void *in_address) |
| template<ut::expr::any_string T> | |
| bool | restart (const std::vector< T > &in_args) |
| bool | restart () |
| std::filesystem::path | get_executable_root () |
| bool | is_neighbour (const std::filesystem::path &in_path) |
|
inline |
Gets the command line arguments that were passed into this process at launch.
|
inline |
Gets the path to the executable this process started from.
|
inline |
Gets the path to the directory containing executable this process started from.
|
inline |
Gets the path to the module containing the specified address.
| in_address | The address to search for. |
|
inline |
Gets a stack trace.
| in_context | A pointer to a CPU context structure. |
| in_max_frames | The maximum number of stack frames to capture. |
|
inline |
Gets the working directory of this process.
|
inline |
Checks if this process is the owner of the specified address.
| in_address | The address to search for. |
|
inline |
Checks if a path is in the same directory as the executable this process started from.
| in_path | The path to check. |
|
inline |
Restarts this process.
|
inline |
Restarts this process.
| T | The string type for the arguments. |
| in_args | The command line arguments to pass into the new process. |