Class JvmAssumeCfaEdge
java.lang.Object
proguard.analysis.cpa.jvm.cfa.edges.JvmCfaEdge
proguard.analysis.cpa.jvm.cfa.edges.JvmInstructionCfaEdge
proguard.analysis.cpa.jvm.cfa.edges.JvmAssumeCfaEdge
- All Implemented Interfaces:
CfaEdge<JvmCfaNode>
An edge representing an assumption on a JVM branch instruction that can be either taken or not
taken.
-
Constructor Summary
ConstructorsConstructorDescriptionJvmAssumeCfaEdge(JvmCfaNode source, JvmCfaNode target, CodeAttribute methodCode, int offset, boolean isSatisfied) Create a JVM CFA assume branch edge.JvmAssumeCfaEdge(CodeAttribute methodCode, int offset, boolean isSatisfied) Create a disconnected JVM CFA assume branch edge. -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the assumption on the branch statement result made on this edge.Methods inherited from class proguard.analysis.cpa.jvm.cfa.edges.JvmInstructionCfaEdge
getInstruction, getMethodCodeMethods inherited from class proguard.analysis.cpa.jvm.cfa.edges.JvmCfaEdge
getSource, getTarget, setSource, setTarget, targetSignature
-
Constructor Details
-
JvmAssumeCfaEdge
Create a disconnected JVM CFA assume branch edge.- Parameters:
methodCode- the code attribute of the method the edge belongs tooffset- the offset of the instruction represented by the edgeisSatisfied- an assumption on the branch result
-
JvmAssumeCfaEdge
public JvmAssumeCfaEdge(JvmCfaNode source, JvmCfaNode target, CodeAttribute methodCode, int offset, boolean isSatisfied) Create a JVM CFA assume branch 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 edgeisSatisfied- an assumption on hte branch result
-
-
Method Details
-
isSatisfied
public boolean isSatisfied()Returns the assumption on the branch statement result made on this edge.
-