public class JvmReferenceReduceOperator extends JvmDefaultReduceOperator<SetAbstractState<Reference>>
JvmDefaultReduceOperator but operates on JvmReferenceAbstractStates.| Constructor and Description |
|---|
JvmReferenceReduceOperator()
Create the reduce operator for the JVM reference analysis.
|
JvmReferenceReduceOperator(boolean reduceHeap)
Create the reduce operator for the JVM reference analysis.
|
| Modifier and Type | Method and Description |
|---|---|
JvmReferenceAbstractState |
createJvmAbstractState(JvmCfaNode programLocation,
JvmFrameAbstractState<SetAbstractState<Reference>> frame,
JvmHeapAbstractState<SetAbstractState<Reference>> heap,
MapAbstractState<java.lang.String,SetAbstractState<Reference>> staticFields)
Returns an instance of JvmAbstractState.
|
protected void |
reduceHeap(JvmHeapAbstractState<SetAbstractState<Reference>> heap,
JvmFrameAbstractState<SetAbstractState<Reference>> reducedFrame,
MapAbstractState<java.lang.String,SetAbstractState<Reference>> reducedStaticFields)
Performs reduction of the
JvmTreeHeapPrincipalAbstractState keeping just the portion of the tree rooted at
references in static fields and parameters. |
reduce, reduceStaticFieldspublic JvmReferenceReduceOperator()
public JvmReferenceReduceOperator(boolean reduceHeap)
reduceHeap - whether reduction of the heap is performedprotected void reduceHeap(JvmHeapAbstractState<SetAbstractState<Reference>> heap, JvmFrameAbstractState<SetAbstractState<Reference>> reducedFrame, MapAbstractState<java.lang.String,SetAbstractState<Reference>> reducedStaticFields)
JvmTreeHeapPrincipalAbstractState keeping just the portion of the tree rooted at
references in static fields and parameters.reduceHeap in class JvmDefaultReduceOperator<SetAbstractState<Reference>>heap - the heap that is modified by this method by performing reductionreducedFrame - the frame after reduction has been performed on itreducedStaticFields - the static fields after reduction has been performed on thempublic JvmReferenceAbstractState createJvmAbstractState(JvmCfaNode programLocation, JvmFrameAbstractState<SetAbstractState<Reference>> frame, JvmHeapAbstractState<SetAbstractState<Reference>> heap, MapAbstractState<java.lang.String,SetAbstractState<Reference>> staticFields)
JvmAbstractStateFactory