Hermes/Dyforge is a program written in c++ allows you to inject a dll that can analyze all processes in a program, can be used for mod and reverse engeneering
| 1 | #pragma once |
| 2 | |
| 3 | #include "include/DyHexInjectTypes.h" |
| 4 | |
| 5 | #ifdef __cplusplus |
| 6 | extern "C" { |
| 7 | #endif |
| 8 | |
| 9 | #ifdef _WIN32 |
| 10 | #ifdef DYHEXINJECT_EXPORTS |
| 11 | #define DYHEXINJECT_API __declspec(dllexport) |
| 12 | #else |
| 13 | #define DYHEXINJECT_API __declspec(dllimport) |
| 14 | #endif |
| 15 | #else |
| 16 | #define DYHEXINJECT_API |
| 17 | #endif |
| 18 | |
| 19 | // Legacy API for backward compatibility |
| 20 | DYHEXINJECT_API int InjectDll(const char* processName, const char* dllPath); |
| 21 | DYHEXINJECT_API int InjectDllByPID(int processId, const char* dllPath); |
| 22 | |
| 23 | #ifdef __cplusplus |
| 24 | } |
| 25 | #endif |