Package it.unive.lisa.interprocedural
Interface OpenCallPolicy
-
- All Known Implementing Classes:
ReturnTopPolicy,WorstCasePolicy
public interface OpenCallPolicyPolicy that determines what happens to theAnalysisStatewhen anOpenCallis encountered during the fixpoint. The state is directly transformed by this policy.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <A extends AbstractState<A>>
AnalysisState<A>apply(OpenCall call, AnalysisState<A> entryState, ExpressionSet[] params)Applies the policy to the given open call.
-
-
-
Method Detail
-
apply
<A extends AbstractState<A>> AnalysisState<A> apply(OpenCall call, AnalysisState<A> entryState, ExpressionSet[] params) throws SemanticException
Applies the policy to the given open call.- Type Parameters:
A- the type ofAbstractStatecontained into the analysis state- Parameters:
call- theOpenCallunder evaluationentryState- the state when the call is executedparams- the symbolic expressions representing the computed values of the parameters of the call- Returns:
- the
AnalysisStaterepresenting the abstract result of the execution of this call - Throws:
SemanticException- if something goes wrong during the computation
-
-