MCPcopy Create free account
hub / github.com/Youlor/unpacker / opMove

Method opMove

dexfixer/src/com/android/dx/rop/code/Rops.java:1259–1270  ·  view source on GitHub ↗

Returns the appropriate move rop for the given type. The result is a shared instance. @param type non-null; type of value being moved @return non-null; an appropriate instance

(TypeBearer type)

Source from the content-addressed store, hash-verified

1257 * @return {@code non-null;} an appropriate instance
1258 */
1259 public static Rop opMove(TypeBearer type) {
1260 switch (type.getBasicFrameType()) {
1261 case Type.BT_INT: return MOVE_INT;
1262 case Type.BT_LONG: return MOVE_LONG;
1263 case Type.BT_FLOAT: return MOVE_FLOAT;
1264 case Type.BT_DOUBLE: return MOVE_DOUBLE;
1265 case Type.BT_OBJECT: return MOVE_OBJECT;
1266 case Type.BT_ADDR: return MOVE_RETURN_ADDRESS;
1267 }
1268
1269 return throwBadType(type);
1270 }
1271
1272 /**
1273 * Returns the appropriate {@code move-param} rop for the

Callers 7

ropForMethod · 0.95
runMethod · 0.95
addMoveToEndMethod · 0.95
addMoveToBeginningMethod · 0.95
scheduleMovesFromPhisMethod · 0.95
insertMoveBeforeMethod · 0.95

Calls 2

throwBadTypeMethod · 0.95
getBasicFrameTypeMethod · 0.65

Tested by

no test coverage detected