CACAO
Functions
patcher.cpp File Reference

Go to the source code of this file.

Functions

void patcher_patch_code (patchref_t *pr)
 
bool patcher_is_valid_trap_instruction_at (void *pc)
 Check if the trap instruction at the given PC is valid. More...
 
bool patcher_resolve_classref_to_classinfo (patchref_t *pr)
 
bool patcher_resolve_classref_to_vftbl (patchref_t *pr)
 
bool patcher_resolve_classref_to_flags (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_checkcast_interface (patchref_t *pr)
 
bool patcher_instanceof_interface (patchref_t *pr)
 

Function Documentation

bool patcher_checkcast_interface ( patchref_t pr)

Definition at line 441 of file patcher.cpp.

bool patcher_get_putfield ( patchref_t pr)

Definition at line 263 of file patcher.cpp.

bool patcher_get_putstatic ( patchref_t pr)

Definition at line 225 of file patcher.cpp.

bool patcher_instanceof_interface ( patchref_t pr)

Definition at line 483 of file patcher.cpp.

bool patcher_invokeinterface ( patchref_t pr)

Definition at line 394 of file patcher.cpp.

bool patcher_invokestatic_special ( patchref_t pr)

Definition at line 319 of file patcher.cpp.

bool patcher_invokevirtual ( patchref_t pr)

Definition at line 355 of file patcher.cpp.

bool patcher_is_valid_trap_instruction_at ( void pc)

Check if the trap instruction at the given PC is valid.

Parameters
pcProgram counter.
Returns
true if valid, false otherwise.

Definition at line 76 of file patcher.cpp.

void patcher_patch_code ( patchref_t pr)

Definition at line 59 of file patcher.cpp.

bool patcher_resolve_classref_to_classinfo ( patchref_t pr)

Definition at line 116 of file patcher.cpp.

bool patcher_resolve_classref_to_flags ( patchref_t pr)

Definition at line 191 of file patcher.cpp.

bool patcher_resolve_classref_to_vftbl ( patchref_t pr)

Definition at line 158 of file patcher.cpp.