30 lines
1006 B
C
30 lines
1006 B
C
|
|
||
|
class FUNCTION_INFO {
|
||
|
//Information
|
||
|
DWORD m_VStartPC; //The Virtual Address that the jump is going to
|
||
|
DWORD m_PStartPC; //The Physical Address that the jump is going to
|
||
|
DWORD m_VEndPC;
|
||
|
|
||
|
//From querying the recompiler get information about the function
|
||
|
BYTE * m_Function;
|
||
|
|
||
|
public:
|
||
|
//constructor
|
||
|
FUNCTION_INFO (DWORD VirtualStartAddress, DWORD PhysicalStartAddress );
|
||
|
|
||
|
//Get Private Information
|
||
|
inline const DWORD VStartPC ( void ) const { return m_VStartPC; }
|
||
|
inline const DWORD PStartPC ( void ) const { return m_PStartPC; }
|
||
|
inline const DWORD VEndPC ( void ) const { return m_VEndPC; }
|
||
|
inline const BYTE * FunctionAddr ( void ) const { return m_Function; }
|
||
|
|
||
|
//Set Private Information
|
||
|
inline void SetVEndPC ( DWORD VEndPC ) { m_VEndPC = VEndPC; }
|
||
|
inline void SetFunctionAddr ( BYTE * FunctionAddr ) { m_Function = FunctionAddr; }
|
||
|
|
||
|
//Validation
|
||
|
QWORD MemContents[2], * MemLocation[2];
|
||
|
|
||
|
FUNCTION_INFO * Next;
|
||
|
};
|