blob: 7fe2fdb3f7ce07e606778a26ede5293580172919 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#include <stdlib.h>
struct DynLibInfo
{
void *baseAddress;
size_t memorySize;
};
class CModuleScanner
{
public:
CModuleScanner(void *addr);
void *FindSignature(const char *sig, const char *pattern);
private:
bool GetLibraryInfo(const void *libPtr, DynLibInfo &lib);
void *m_addr;
};
|