Class JvmInstructionCfaEdge
java.lang.Object
proguard.analysis.cpa.jvm.cfa.edges.JvmCfaEdge
proguard.analysis.cpa.jvm.cfa.edges.JvmInstructionCfaEdge
- All Implemented Interfaces:
CfaEdge<JvmCfaNode>
- Direct Known Subclasses:
JvmAssumeCaseCfaEdge,JvmAssumeCfaEdge,JvmAssumeDefaultCfaEdge
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.
-
Constructor Summary
ConstructorsConstructorDescriptionJvmInstructionCfaEdge(JvmCfaNode source, JvmCfaNode target, CodeAttribute methodCode, int offset) Create a JVM CFA instruction edge.JvmInstructionCfaEdge(CodeAttribute methodCode, int offset) Create a disconnected JVM CFA instruction edge. -
Method Summary
Modifier and TypeMethodDescriptionGenerates and returns the JVM instruction represented by the edge.Returns the code attribute of the method the node belongs to.Methods inherited from class proguard.analysis.cpa.jvm.cfa.edges.JvmCfaEdge
getSource, getTarget, setSource, setTarget, targetSignature
-
Constructor Details
-
JvmInstructionCfaEdge
Create a disconnected JVM CFA instruction edge.- Parameters:
methodCode- the code attribute of the method the edge belongs tooffset- 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.- Parameters:
source- the source node of the edgetarget- the target node of the edgemethodCode- the code attribute of the method the edge belongs tooffset- the offset of the instruction represented by the edge
-
-
Method Details
-
getInstruction
Generates and returns the JVM instruction represented by the edge. -
getMethodCode
Returns the code attribute of the method the node belongs to.
-