CACAO
Public Member Functions | Private Member Functions | Private Attributes
cacao::InitializeClassPatcher Class Reference
Inheritance diagram for cacao::InitializeClassPatcher:
cacao::PatcherBase cacao::Patcher

Public Member Functions

virtual void emit ()
 
virtual bool check_is_patched () const
 
 InitializeClassPatcher (classinfo *c)
 
virtual const char * get_name () const
 print patcher information More...
 
- Public Member Functions inherited from cacao::PatcherBase
 PatcherBase ()
 
 PatcherBase (uintptr_t mpc)
 
virtual void set_mcode (uint32_t mcode)
 
virtual uintptr_t get_mpc () const
 get the absolute position in code segment More...
 
virtual void reposition (intptr_t base)
 reposition to another base More...
 
- Public Member Functions inherited from cacao::Patcher
 Patcher ()
 
virtual ~Patcher ()
 
bool patch ()
 This a wrapper to set the done flag. More...
 
bool is_patched () const
 Check already patched. More...
 
virtual OStreamprint (OStream &OS) const
 print patcher information More...
 

Private Member Functions

virtual bool patch_impl ()
 This function performs the patching. More...
 

Private Attributes

classinfoc
 

Detailed Description

Definition at line 195 of file PatcherNew.hpp.

Constructor & Destructor Documentation

cacao::InitializeClassPatcher::InitializeClassPatcher ( classinfo c)
inline

Definition at line 203 of file PatcherNew.hpp.

Member Function Documentation

bool InitializeClassPatcher::check_is_patched ( ) const
virtual
Todo:
implement

Implements cacao::Patcher.

Definition at line 186 of file PatcherNew.cpp.

void InitializeClassPatcher::emit ( )
virtual
Todo:
implement

Implements cacao::Patcher.

Definition at line 181 of file PatcherNew.cpp.

virtual const char* cacao::InitializeClassPatcher::get_name ( ) const
inlinevirtual

print patcher information

Reimplemented from cacao::PatcherBase.

Definition at line 204 of file PatcherNew.hpp.

bool InitializeClassPatcher::patch_impl ( )
privatevirtual

This function performs the patching.

Implements cacao::Patcher.

Definition at line 171 of file PatcherNew.cpp.

Field Documentation

classinfo* cacao::InitializeClassPatcher::c
private

Definition at line 197 of file PatcherNew.hpp.


The documentation for this class was generated from the following files: