|
HyperDbg Debugger
|
common utils More...
#include "pch.h"Functions | |
| BOOLEAN | IsFileExists (const std::string &FileName) |
| check if a file exist or not | |
| BOOLEAN | IsDirExists (const std::string &DirPath) |
| check if a path exist or not | |
| BOOLEAN | CreateDirectoryRecursive (const std::string &Path) |
| create a directory recursively | |
| VOID | SplitPathAndArgs (std::vector< std::string > &Qargs, const std::string &Command) |
| Split path and arguments and handle strings between quotes. | |
| const std::vector< std::string > | Split (const std::string &s, const char &c) |
| general split command | |
common utils
| BOOLEAN CreateDirectoryRecursive | ( | const std::string & | Path | ) |
create a directory recursively
| Path | path of file |
| BOOLEAN IsDirExists | ( | const std::string & | DirPath | ) |
| BOOLEAN IsFileExists | ( | const std::string & | FileName | ) |
check if a file exist or not
| FileName | path of file |
| const std::vector< std::string > Split | ( | const std::string & | s, |
| const char & | c ) |
general split command
| s | target string |
| c | splitter (delimiter) |
| VOID SplitPathAndArgs | ( | std::vector< std::string > & | Qargs, |
| const std::string & | Command ) |
Split path and arguments and handle strings between quotes.
| Qargs | the vector to store the result of split |
| Command | the command string to split |