HyperDbg/hyperdbg/symbol-parser/header/common-utils.h
2024-08-10 21:21:23 +09:00

32 lines
760 B
C++

/**
* @file common-utils.h
* @author Alee Amini (alee@hyperdbg.org)
* @author Sina Karvandi (sina@hyperdbg.org)
* @brief common utils headers
* @details
* @version 0.1
* @date 2021-06-10
*
* @copyright This project is released under the GNU Public License v3.
*
*/
#pragma once
//////////////////////////////////////////////////
// Functions //
//////////////////////////////////////////////////
BOOLEAN
IsFileExists(const std::string & FileName);
BOOLEAN
IsDirExists(const std::string & DirPath);
BOOLEAN
CreateDirectoryRecursive(const std::string & Path);
const std::vector<std::string>
Split(const std::string & s, const char & c);
VOID
SplitPathAndArgs(std::vector<std::string> & Qargs, const std::string & Command);