Java Code Examples for org.jf.dexlib2.iface.instruction.formats.Instruction22c#getRegisterB()
The following examples show how to use
org.jf.dexlib2.iface.instruction.formats.Instruction22c#getRegisterB() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: InstanceOfInstruction.java From JAADAS with GNU General Public License v3.0 | 6 votes |
public void jimplify (DexBody body) { Instruction22c i = (Instruction22c)instruction; int dest = i.getRegisterA(); int source = i.getRegisterB(); Type t = DexType.toSoot((TypeReference)(i.getReference())); InstanceOfExpr e = Jimple.v().newInstanceOfExpr(body.getRegisterLocal(source), t); assign = Jimple.v().newAssignStmt(body.getRegisterLocal(dest), e); setUnit(assign); addTags(assign); body.add(assign); if (IDalvikTyper.ENABLE_DVKTYPER) { Debug.printDbg(IDalvikTyper.DEBUG, "constraint: "+ assign); int op = (int)instruction.getOpcode().value; //DalvikTyper.v().? } }
Example 2
Source File: ImmutableInstruction22c.java From ZjDroid with Apache License 2.0 | 5 votes |
public static ImmutableInstruction22c of(Instruction22c instruction) { if (instruction instanceof ImmutableInstruction22c) { return (ImmutableInstruction22c)instruction; } return new ImmutableInstruction22c( instruction.getOpcode(), instruction.getRegisterA(), instruction.getRegisterB(), instruction.getReference()); }
Example 3
Source File: ImmutableInstruction22c.java From zjdroid with Apache License 2.0 | 5 votes |
public static ImmutableInstruction22c of(Instruction22c instruction) { if (instruction instanceof ImmutableInstruction22c) { return (ImmutableInstruction22c)instruction; } return new ImmutableInstruction22c( instruction.getOpcode(), instruction.getRegisterA(), instruction.getRegisterB(), instruction.getReference()); }
Example 4
Source File: ImmutableInstruction22c.java From HeyGirl with Apache License 2.0 | 5 votes |
public static ImmutableInstruction22c of(Instruction22c instruction) { if (instruction instanceof ImmutableInstruction22c) { return (ImmutableInstruction22c)instruction; } return new ImmutableInstruction22c( instruction.getOpcode(), instruction.getRegisterA(), instruction.getRegisterB(), instruction.getReference()); }
Example 5
Source File: ImmutableInstruction22c.java From ZjDroid with Apache License 2.0 | 5 votes |
public static ImmutableInstruction22c of(Instruction22c instruction) { if (instruction instanceof ImmutableInstruction22c) { return (ImmutableInstruction22c)instruction; } return new ImmutableInstruction22c( instruction.getOpcode(), instruction.getRegisterA(), instruction.getRegisterB(), instruction.getReference()); }