30 #ifndef _INCLUDE_SOURCEMOD_INTERFACE_BINARYUTILS_H_
31 #define _INCLUDE_SOURCEMOD_INTERFACE_BINARYUTILS_H_
35 #define SMINTERFACE_MEMORYUTILS_NAME "IMemoryUtils"
36 #define SMINTERFACE_MEMORYUTILS_VERSION 2
54 return SMINTERFACE_MEMORYUTILS_VERSION;
65 virtual void *
FindPattern(
const void *libPtr,
const char *pattern,
size_t len) =0;
81 virtual void *
ResolveSymbol(
void *handle,
const char *symbol) =0;
85 #endif // _INCLUDE_SOURCEMOD_INTERFACE_MEMORYUTILS_H_
const char * GetInterfaceName()
Must return a string defining the interface's unique name.
Definition: IMemoryUtils.h:48
Defines the Share System, responsible for shared resources and dependencies.
Definition: IMemoryUtils.h:45
unsigned int GetInterfaceVersion()
Must return an integer defining the interface's version.
Definition: IMemoryUtils.h:52
Defines the base functionality required by a shared interface.
Definition: IShareSys.h:92
virtual void * ResolveSymbol(void *handle, const char *symbol)=0
Retrieves a symbol pointer from a dynamic library.
#define SMINTERFACE_MEMORYUTILS_NAME
Definition: IMemoryUtils.h:35
virtual void * FindPattern(const void *libPtr, const char *pattern, size_t len)=0
Searches for a pattern of bytes within the memory of a dynamic library.
Definition: IAdminSystem.h:63