add interpreter

This commit is contained in:
Sina Karvandi 2020-04-11 20:43:08 -07:00
parent c57c95a86a
commit 637b944553
6 changed files with 70 additions and 3 deletions

View file

@ -10,6 +10,7 @@
*
*/
#include <Windows.h>
#include <string>
#include <conio.h>
#include <iostream>
#include "Definition.h"
@ -17,6 +18,8 @@
#pragma comment(lib, "HPRDBGCTRL.lib")
using namespace std;
//
// Header file of HPRDBGCTRL
// Imports
@ -27,10 +30,12 @@ extern "C"
__declspec (dllimport) int __cdecl HyperdbgUnload();
__declspec (dllimport) int __cdecl HyperdbgInstallDriver();
__declspec (dllimport) int __cdecl HyperdbgUninstallDriver();
__declspec (dllimport) int __cdecl HyperdbgInterpreter(std::string Command);
__declspec (dllimport) void __stdcall HyperdbgSetTextMessageCallback(Callback handler);
}
/**
* @brief Print HyperDbg Header
*
@ -61,6 +66,13 @@ int main()
//
PrintAppearance();
//std::string command = "salam";
//HyperdbgInterpreter(command);
//_getch();
//return 0;
//
// Installing Driver
//