public class JvmDefaultReduceOperator<StateT extends LatticeAbstractState<StateT>> extends java.lang.Object implements ReduceOperator<JvmCfaNode,JvmCfaEdge,MethodSignature>, JvmAbstractStateFactory<StateT>
ReduceOperator simulates the JVM behavior on a method call. It takes a clone of the caller JvmAbstractState, creates an empty stack and a local variables array with the callee
arguments.| Constructor and Description |
|---|
JvmDefaultReduceOperator() |
| Modifier and Type | Method and Description |
|---|---|
JvmAbstractState<StateT> |
reduce(AbstractState expandedInitialState,
JvmCfaNode blockEntryNode,
Call call)
Creates the initial state of the called procedure discarding the useless information from the state of the caller.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateJvmAbstractStatepublic JvmAbstractState<StateT> reduce(AbstractState expandedInitialState, JvmCfaNode blockEntryNode, Call call)
ReduceOperatorreduce in interface ReduceOperator<JvmCfaNode,JvmCfaEdge,MethodSignature>expandedInitialState - the entry state of the called procedure before any reductionblockEntryNode - the entry node of the called procedurecall - the information of the call to the procedure