Package pascal.taie.config
Class AnalysisPlanner
java.lang.Object
pascal.taie.config.AnalysisPlanner
Makes analysis plan based on given plan configs and analysis configs.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionexpandPlan
(List<PlanConfig> planConfigs, boolean reachableScope) This method makes an analysis plan based on given plan configs, and it will automatically add required analyses (which are not in the given plan) to the resulting plan.makePlan
(List<PlanConfig> planConfigs, boolean reachableScope) This method makes a plan by converting given list of PlanConfig to AnalysisConfig.
-
Constructor Details
-
AnalysisPlanner
-
-
Method Details
-
makePlan
This method makes a plan by converting given list of PlanConfig to AnalysisConfig. It will be used when analysis plan is specified by configuration file.- Returns:
- the analysis plan consists of a list of analysis config.
- Throws:
ConfigException
- if the given planConfigs are invalid.
-
expandPlan
This method makes an analysis plan based on given plan configs, and it will automatically add required analyses (which are not in the given plan) to the resulting plan. It will be used when analysis plan is specified by command line options.- Returns:
- the analysis plan consisting of a list of analysis config.
- Throws:
ConfigException
- if the specified planConfigs is invalid.
-