You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
797 B
37 lines
797 B
#ifndef _FILTER_H_
|
|
#define _FILTER_H_
|
|
|
|
//
|
|
// Constant declarations
|
|
//
|
|
|
|
//
|
|
// Structure definitions
|
|
//
|
|
typedef struct _MODULEFILTER
|
|
{
|
|
DWORD dwModuleStart; // Starting address of the module to filter
|
|
DWORD dwModuleEnd; // Ending address of the module to filter
|
|
CHAR szModuleName[64];
|
|
struct _MODULEFILTER *pNextFilter; // Used to iterate the module filter normally
|
|
} MODULEFILTER, *PMODULEFILTER;
|
|
|
|
//
|
|
// Function definitions
|
|
//
|
|
BOOL
|
|
InitializeFilterList(VOID);
|
|
|
|
BOOL
|
|
AddModuleToFilterList(CHAR *pszModuleName,
|
|
DWORD dwStartAddress,
|
|
DWORD dwEndAddress,
|
|
BOOL bLateBound);
|
|
|
|
BOOL
|
|
IsAddressFiltered(DWORD dwAddress);
|
|
|
|
VOID
|
|
RefreshFilterList(VOID);
|
|
|
|
#endif //_FILTER_H_
|