Exact flow analysis

  • Christian Mossin
Functional Programming II

DOI: 10.1007/BFb0032746

Part of the Lecture Notes in Computer Science book series (LNCS, volume 1302)
Cite this paper as:
Mossin C. (1997) Exact flow analysis. In: Van Hentenryck P. (eds) Static Analysis. SAS 1997. Lecture Notes in Computer Science, vol 1302. Springer, Berlin, Heidelberg

Abstract

We present a type-based flow analysis for simply typed lambda calculus with booleans, data-structures and recursion. The analysis is exact in the following sense: if the analysis predicts a redex, then there exists a reduction sequence (using standard reduction plus context propagation rules) such that this redex will be reduced. The precision is accomplished using intersection typing.

It follows that the analysis is non-elementary recursive — more surprisingly, the analysis is decidable. We argue that the specification of such an analysis provides a good starting point for developing new flow analyses and an important benchmark against which other flow analyses can be compared. Furthermore, we believe that the techniques employed for stating and proving exactness are of independent interest: they provide methods for reasoning about the precision of program analyses.

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© Springer-Verlag 1997

Authors and Affiliations

  • Christian Mossin
    • 1
  1. 1.DIKU, Universitetsparken 1Copenhagen ØDenmark

Personalised recommendations