2021-06-08 10:54:49 -07:00
|
|
|
#pragma once
|
|
|
|
#include <Windows.h>
|
|
|
|
#include <Psapi.h>
|
|
|
|
|
2021-06-16 16:43:03 -07:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
// Internals
|
2021-06-08 10:54:49 -07:00
|
|
|
BOOL FileExists(LPCTSTR szPath);
|
|
|
|
MODULEINFO GetModuleInfo(const char* szModule);
|
|
|
|
DWORD64 FindPattern(const char* szModule, const unsigned char* szPattern, const char* szMask);
|
|
|
|
|
2021-06-16 16:43:03 -07:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
// Utility
|
2021-06-08 10:54:49 -07:00
|
|
|
void DbgPrint(LPCSTR sFormat, ...);
|
|
|
|
void HexDump(const char* szHeader, const char* szFile, const char* szMode, int nFunc, const void* pData, int nSize);
|
2021-06-16 16:43:03 -07:00
|
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|