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_get_putstatic (patchref_t *pr)
 
bool patcher_get_putfield (patchref_t *pr)
 
bool patcher_resolve_classref_to_classinfo (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_index (patchref_t *pr)
 
bool patcher_resolve_classref_to_vftbl (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 424 of file patcher.cpp.

bool patcher_get_putfield ( patchref_t pr)

Definition at line 129 of file patcher.cpp.

bool patcher_get_putstatic ( patchref_t pr)

Definition at line 94 of file patcher.cpp.

bool patcher_instanceof_interface ( patchref_t pr)

Definition at line 429 of file patcher.cpp.

bool patcher_invokeinterface ( patchref_t pr)

Definition at line 306 of file patcher.cpp.

bool patcher_invokestatic_special ( patchref_t pr)

Definition at line 238 of file patcher.cpp.

bool patcher_invokevirtual ( patchref_t pr)

Definition at line 271 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 72 of file patcher.cpp.

void patcher_patch_code ( patchref_t pr)

Definition at line 58 of file patcher.cpp.

bool patcher_resolve_classref_to_classinfo ( patchref_t pr)

Definition at line 206 of file patcher.cpp.

bool patcher_resolve_classref_to_flags ( patchref_t pr)

Definition at line 343 of file patcher.cpp.

bool patcher_resolve_classref_to_index ( patchref_t pr)

Definition at line 372 of file patcher.cpp.

bool patcher_resolve_classref_to_vftbl ( patchref_t pr)

Definition at line 401 of file patcher.cpp.