48 #define PATCH_BACK_ORIGINAL_MCODE \
49 *((u2 *) pr->mpc) = (u2) pr->mcode;
100 *((intptr_t *) datap) = (intptr_t) fi->
value;
#define ASSERT_VALID_DISP(x)
bool patcher_invokestatic_special(patchref_t *pr)
bool patcher_get_putstatic(patchref_t *pr)
bool patcher_resolve_classref_to_classinfo(patchref_t *pr)
bool patcher_invokeinterface(patchref_t *pr)
bool patcher_checkcast_instanceof_interface(patchref_t *pr)
#define PATCH_BACK_ORIGINAL_MCODE
static uint16_t N_RX_GET_DISP(uint8_t *instrp)
void patcher_patch_code(patchref_t *pr)
bool patcher_invokevirtual(patchref_t *pr)
bool patcher_resolve_classref_to_flags(patchref_t *pr)
bool initialize_class(classinfo *c)
bool patcher_get_putfield(patchref_t *pr)
static uint8_t N_RX_GET_REG(uint8_t *instrp)
fieldinfo * resolve_field_eager(unresolved_field *ref)
static void N_RI_SET_IMM(uint8_t *instrp, int16_t imm)
methodinfo * resolve_method_eager(unresolved_method *ref)
classinfo * resolve_classref_eager(constant_classref *ref)
#define ASSERT_VALID_IMM(x)
static void N_RX_SET_DISP(uint8_t *instrp, uint16_t disp)
bool patcher_resolve_classref_to_vftbl(patchref_t *pr)