TOWARDS A TOOL KIT FOR THE AUTOMATIC-GENERATION OF INTERPROCEDURAL DATA-FLOW ANALYSES

Citation
J. Knoop et al., TOWARDS A TOOL KIT FOR THE AUTOMATIC-GENERATION OF INTERPROCEDURAL DATA-FLOW ANALYSES, Journal of programming languages, 4(4), 1996, pp. 211-246
Citations number
54
Categorie Soggetti
Computer Sciences","Computer Science Software Graphycs Programming
ISSN journal
09639306
Volume
4
Issue
4
Year of publication
1996
Pages
211 - 246
Database
ISI
SICI code
0963-9306(1996)4:4<211:TATKFT>2.0.ZU;2-P
Abstract
Frameworks for interprocedural data how analysis (DFA) often have a fo undational character: designing concrete applications requires usually a deep understanding of the framework. Here, we reconsider interproce dural DFA from an application-oriented point of view, where all detail s irrelevant for application are hidden. In this view the underlying f ramework, which captures programs with mutually recursive procedures, global and local variables, formal value and reference parameters, red uces to a cookbook of (1) how to specify interprocedural DFAs and (2) how to prove them precise with respect to a program property of intere st. Thus only knowledge about the specification level is required. Mor eover, this presentation also yields the basis for a tool kit implemen tation: specification parameters and generic algorithms of the framewo rk become specification tools allowing concise specifications and comp utation tools processing them. A tool kit prototype has been implement ed within METAFrame, a programming environment for the construction an d verification of complex software systems. The benefits of the approa ch are demonstrated by a collection of practically relevant precise in terprocedural DFAs ranging from classical bit-vector problems such as available expressions and live variables to sophisticated and powerful optimizations like the optimal elimination of interprocedural partial redundancies.