2010-05-25 09:15:19 +00:00
|
|
|
class CCompiledFunc
|
|
|
|
{
|
2010-05-30 01:54:42 +00:00
|
|
|
//constructor
|
|
|
|
CCompiledFunc ( void ); // not implemented
|
2008-09-18 03:15:49 +00:00
|
|
|
|
|
|
|
public:
|
2010-05-30 01:54:42 +00:00
|
|
|
CCompiledFunc ( const CCodeBlock & CodeBlock );
|
2008-09-18 03:15:49 +00:00
|
|
|
|
2010-05-30 01:54:42 +00:00
|
|
|
typedef void (* Func)(void);
|
2010-05-25 09:15:19 +00:00
|
|
|
|
2010-05-30 01:54:42 +00:00
|
|
|
//Get Private Information
|
|
|
|
inline const DWORD EnterPC ( void ) const { return m_EnterPC; }
|
|
|
|
inline const DWORD MinPC ( void ) const { return m_MinPC; }
|
|
|
|
inline const DWORD MaxPC ( void ) const { return m_MaxPC; }
|
|
|
|
inline const Func Function ( void ) const { return m_Function; }
|
2010-05-25 09:15:19 +00:00
|
|
|
|
2010-05-30 01:54:42 +00:00
|
|
|
private:
|
|
|
|
//Information
|
|
|
|
DWORD m_EnterPC; // The Entry PC
|
|
|
|
DWORD m_MinPC; // The Lowest PC in the function
|
|
|
|
DWORD m_MaxPC; // The Highest PC in the function
|
2008-09-18 03:15:49 +00:00
|
|
|
|
2010-05-30 01:54:42 +00:00
|
|
|
//From querying the recompiler get information about the function
|
|
|
|
Func m_Function;
|
|
|
|
|
2008-09-18 03:15:49 +00:00
|
|
|
//Validation
|
2010-05-30 01:54:42 +00:00
|
|
|
//QWORD MemContents[2], * MemLocation[2];
|
2008-09-18 03:15:49 +00:00
|
|
|
};
|
2010-06-04 06:25:07 +00:00
|
|
|
|
|
|
|
typedef std::vector<CCompiledFunc *> CCompiledFuncList;
|