CACAO
Macros | Functions
patcher.cpp File Reference

Go to the source code of this file.

Macros

#define PATCH_BACK_ORIGINAL_MCODE   *((u2 *) pr->mpc) = (u2) pr->mcode;
 
#define PATCHER_TRACE
 

Functions

void patcher_patch_code (patchref_t *pr)
 
bool patcher_get_putstatic (patchref_t *pr)
 
bool patcher_get_putfield (patchref_t *pr)
 
bool patcher_invokestatic_special (patchref_t *pr)
 
bool patcher_invokevirtual (patchref_t *pr)
 
bool patcher_invokeinterface (patchref_t *pr)
 
bool patcher_resolve_classref_to_flags (patchref_t *pr)
 
bool patcher_resolve_classref_to_classinfo (patchref_t *pr)
 
bool patcher_resolve_classref_to_vftbl (patchref_t *pr)
 
bool patcher_checkcast_instanceof_interface (patchref_t *pr)
 

Macro Definition Documentation

#define PATCH_BACK_ORIGINAL_MCODE   *((u2 *) pr->mpc) = (u2) pr->mcode;

Definition at line 48 of file patcher.cpp.

#define PATCHER_TRACE

Definition at line 51 of file patcher.cpp.

Function Documentation

bool patcher_checkcast_instanceof_interface ( patchref_t pr)

Definition at line 393 of file patcher.cpp.

bool patcher_get_putfield ( patchref_t pr)

Definition at line 112 of file patcher.cpp.

bool patcher_get_putstatic ( patchref_t pr)

Definition at line 72 of file patcher.cpp.

bool patcher_invokeinterface ( patchref_t pr)

Definition at line 237 of file patcher.cpp.

bool patcher_invokestatic_special ( patchref_t pr)

Definition at line 161 of file patcher.cpp.

bool patcher_invokevirtual ( patchref_t pr)

Definition at line 194 of file patcher.cpp.

void patcher_patch_code ( patchref_t pr)

Definition at line 60 of file patcher.cpp.

bool patcher_resolve_classref_to_classinfo ( patchref_t pr)

Definition at line 326 of file patcher.cpp.

bool patcher_resolve_classref_to_flags ( patchref_t pr)

Definition at line 291 of file patcher.cpp.

bool patcher_resolve_classref_to_vftbl ( patchref_t pr)

Definition at line 360 of file patcher.cpp.