Publication | Open Access
A practical framework for demand-driven interprocedural data flow analysis
92
Citations
36
References
1997
Year
EngineeringBusiness IntelligenceSoftware EngineeringSoftware AnalysisQuery Propagation RulesData StreamData ScienceData MiningManagementSystems EngineeringData IntegrationCopy Constant PropagationData ManagementQuantitative ManagementPractical FrameworkData FlowVery Large DatabaseKnowledge DiscoveryComputer ScienceInformation ManagementQuery OptimizationData EngineeringProgram AnalysisData Modeling
The high cost and growing importance of interprocedural data flow analysis have led to an increased interest in demand-driven algorithms. In this article, we present a general framework for developing demand-driven interprocedural data flow analyzers and report our experience in evaluating the performance of this approach. A demand for data flow information is modeled as a set of queries. The framework includes a generic demand-driven algorithm that determines the response to query by iteratively applying a system of query propagation rules. The propagation rules yield precise responses for the class of distributive finite data flow problems. We also describe a two-phase framework variation to accurately handle nondistributive problems. A performance evaluation of our demand-driven approach is presented for two data flow problems, namely, reaching-definitions and copy constant propagation. Our experiments show that demand-driven analysis performs well in practice, reducing both time and space requirements when compared with exhaustive analysis.
| Year | Citations | |
|---|---|---|
Page 1
Page 1