Class InstructionFactory

java.lang.Object
sootup.apk.frontend.instruction.InstructionFactory

public class InstructionFactory extends Object
  • 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 instruction
      codeAddress - the byte code address of the instruction
      Returns:
      the resolved DexLibAbstractInstruction based on the opcode and the given code address