类 JvmInstructionCfaEdge

java.lang.Object
proguard.analysis.cpa.jvm.cfa.edges.JvmCfaEdge
proguard.analysis.cpa.jvm.cfa.edges.JvmInstructionCfaEdge
所有已实现的接口:
CfaEdge<JvmCfaNode>
直接已知子类:
JvmAssumeCaseCfaEdge, JvmAssumeCfaEdge, JvmAssumeDefaultCfaEdge

public class JvmInstructionCfaEdge extends JvmCfaEdge
A JvmCfaEdge the operation of which is defined by an instruction.

An instruction is identified by a code attribute and an offset and generated on the fly.

  • 构造器详细资料

    • JvmInstructionCfaEdge

      public JvmInstructionCfaEdge(CodeAttribute methodCode, int offset)
      Create a disconnected JVM CFA instruction edge.
      参数:
      methodCode - the code attribute of the method the edge belongs to
      offset - the offset of the instruction represented by the edge
    • JvmInstructionCfaEdge

      public JvmInstructionCfaEdge(JvmCfaNode source, JvmCfaNode target, CodeAttribute methodCode, int offset)
      Create a JVM CFA instruction edge. Also sets it as the entering and leaving edge of the source and target nodes.
      参数:
      source - the source node of the edge
      target - the target node of the edge
      methodCode - the code attribute of the method the edge belongs to
      offset - the offset of the instruction represented by the edge
  • 方法详细资料

    • getInstruction

      public Instruction getInstruction()
      Generates and returns the JVM instruction represented by the edge.
    • getMethodCode

      public CodeAttribute getMethodCode()
      Returns the code attribute of the method the node belongs to.