Package sootup.apk.frontend.instruction
Class InstructionFactory
java.lang.Object
sootup.apk.frontend.instruction.InstructionFactory
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic DexLibAbstractInstruction
fromInstruction
(org.jf.dexlib2.iface.instruction.Instruction instruction, int codeAddress) Resolve an Instruction from a dexlib instruction.
-
Constructor Details
-
InstructionFactory
public InstructionFactory()
-
-
Method Details
-
fromInstruction
public static DexLibAbstractInstruction fromInstruction(org.jf.dexlib2.iface.instruction.Instruction instruction, int codeAddress) Resolve an Instruction from a dexlib instruction.- Parameters:
instruction
- the corresponding dexlib instructioncodeAddress
- the byte code address of the instruction- Returns:
- the resolved DexLibAbstractInstruction based on the opcode and the given code address
-