CACAO
|
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... | |
![]() | |
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... | |
![]() | |
Patcher () | |
virtual | ~Patcher () |
bool | patch () |
This a wrapper to set the done flag. More... | |
bool | is_patched () const |
Check already patched. More... | |
virtual OStream & | print (OStream &OS) const |
print patcher information More... | |
Private Member Functions | |
virtual bool | patch_impl () |
This function performs the patching. More... | |
Private Attributes | |
classinfo * | c |
Definition at line 195 of file PatcherNew.hpp.
|
inline |
Definition at line 203 of file PatcherNew.hpp.
|
virtual |
|
virtual |
|
inlinevirtual |
print patcher information
Reimplemented from cacao::PatcherBase.
Definition at line 204 of file PatcherNew.hpp.
|
privatevirtual |
This function performs the patching.
Implements cacao::Patcher.
Definition at line 171 of file PatcherNew.cpp.
|
private |
Definition at line 197 of file PatcherNew.hpp.