Class Instruction

java.lang.Object
com.ibm.wala.dalvik.dex.instructions.Instruction
  • Field Details

    • pc

      public final int pc
    • opcode

      protected final org.jf.dexlib2.Opcode opcode
    • method

      protected final DexIMethod method
    • noInstructions

      public static final int[] noInstructions
  • Constructor Details

    • Instruction

      protected Instruction(int pc, org.jf.dexlib2.Opcode op, DexIMethod method)
  • Method Details

    • isFallThrough

      public boolean isFallThrough()
      True if the instruction can continue.
      See Also:
    • isPEI

      public boolean isPEI()
      True if the instruction can throw an exception
      See Also:
    • getParentMethod

      public DexIMethod getParentMethod()
      Returns:
      The DexIMethod which contains this instruction.
    • getOpcode

      public org.jf.dexlib2.Opcode getOpcode()
      Returns:
      The opcode associated with this instruction.
    • getBranchTargets

      public int[] getBranchTargets()
    • visit

      public abstract void visit(Instruction.Visitor visitor)