|
HyperDbg Debugger
|
Include file resolver declarations. More...
Go to the source code of this file.
Macros | |
| #define | MAX_PATH_LEN 1024 |
Functions | |
| VOID | ResolveIncludePath (const char *IncludeFilePath, char *OutPath) |
| Resolves an include file path to a full absolute path. | |
| BOOLEAN | FileExists (const char *Path) |
| Checks whether a file exists at the given path. | |
| BOOLEAN | ParseIncludeFile (char *IncludeFile, char **Buffer) |
| Reads and parses an include file into a buffer. | |
| char * | InsertStrNew (char *Str, int InputIdx, const char *Buf) |
| Inserts a string into another string at a given index. | |
Include file resolver declarations.
| #define MAX_PATH_LEN 1024 |
| BOOLEAN FileExists | ( | const char * | Path | ) |
| char * InsertStrNew | ( | char * | Str, |
| int | InputIdx, | ||
| const char * | Buf ) |
Inserts a string into another string at a given index.
| Str | the original string (will be reallocated) |
| InputIdx | the index at which to insert |
| Buf | the string to insert |
| BOOLEAN ParseIncludeFile | ( | char * | IncludeFile, |
| char ** | Buffer ) |
Reads and parses an include file into a buffer.
| IncludeFile | the path to the include file |
| Buffer | pointer to receive the allocated file content buffer |
| VOID ResolveIncludePath | ( | const char * | IncludeFilePath, |
| char * | OutPath ) |
Resolves an include file path to a full absolute path.
| IncludeFilePath | the include file path (relative or absolute) |
| OutPath | the buffer to receive the resolved path |