HyperDbg Debugger
Loading...
Searching...
No Matches
hwdbg-tests.h File Reference

Headers for the hardware tests for hwdbg. More...

Go to the source code of this file.

Functions

BOOLEAN HwdbgTestCreateTestCases ()
 Create test cases for hwdbg.

Detailed Description

Headers for the hardware tests for hwdbg.

Author
Sina Karvandi (sina@.nosp@m.hype.nosp@m.rdbg..nosp@m.org)
Version
0.11
Date
2024-09-30

Function Documentation

◆ HwdbgTestCreateTestCases()

BOOLEAN HwdbgTestCreateTestCases ( )

Create test cases for hwdbg.

Returns
BOOLEAN
196{
197 INT32 TestNum = 0;
198 CHAR dirPath[MAX_PATH] = {0};
199
200 //
201 // Parse the hwdbg test cases from the file
202 // Setup the path for the filenames
203 //
205 {
206 //
207 // Error could not find the test case files
208 //
209 cout << "[-] Could not find the hwdbg test case files" << endl;
210 return FALSE;
211 }
212
213 //
214 // Run test cases
215 //
217}
#define HWDBG_SCRIPT_TEST_CASE_CODE_DIRECTORY
Test cases directory name for hwdbg script (code) tests.
Definition Definition.h:110
signed int INT32
Definition BasicTypes.h:50
#define FALSE
Definition BasicTypes.h:113
char CHAR
Definition BasicTypes.h:33
IMPORT_EXPORT_LIBHYPERDBG BOOLEAN hyperdbg_u_setup_path_for_filename(const CHAR *filename, CHAR *file_location, UINT32 buffer_len, BOOLEAN check_file_existence)
Setip the path for the filename.
Definition export.cpp:725
BOOLEAN ReadDirectoryAndCreateHwdbgTestCases(const CHAR *HwdbgScriptTestCasesPath)
Read directory of hwdbg script test cases and run each of them.
Definition hwdbg-tests.cpp:45