2008-09-18 03:15:49 +00:00
|
|
|
class CDelaySlotFunctionMap
|
|
|
|
{
|
2010-05-25 09:15:19 +00:00
|
|
|
typedef std::map<DWORD,CCompiledFunc *> FUNCTION_MAP;
|
2008-09-18 03:15:49 +00:00
|
|
|
|
|
|
|
FUNCTION_MAP FunctionMap;
|
|
|
|
|
|
|
|
public:
|
|
|
|
CDelaySlotFunctionMap ( void );
|
|
|
|
~CDelaySlotFunctionMap ( void );
|
|
|
|
|
2010-05-25 09:15:19 +00:00
|
|
|
CCompiledFunc * AddFunctionInfo ( DWORD vAddr, DWORD pAddr );
|
|
|
|
CCompiledFunc * FindFunction ( DWORD vAddr, int Length );
|
|
|
|
CCompiledFunc * FindFunction ( DWORD vAddr ) const;
|
2008-09-18 03:15:49 +00:00
|
|
|
|
2010-05-25 09:15:19 +00:00
|
|
|
void Remove ( CCompiledFunc * info );
|
2008-09-18 03:15:49 +00:00
|
|
|
void Reset ( void );
|
|
|
|
};
|