ACM Home Page
Please provide us with feedback. Feedback
Type-base flow analysis: from polymorphic subtyping to CFL-reachability
Full text PdfPdf (1.23 MB)
Source Annual Symposium on Principles of Programming Languages archive
Proceedings of the 28th ACM SIGPLAN-SIGACT symposium on Principles of programming languages table of contents
London, United Kingdom
Pages: 54 - 66  
Year of Publication: 2001
ISBN:1-58113-336-7
Also published in ...
Authors
Jakob Rehof  Microsoft Research, One Microsoft Way, Redmond, WA
Manuel Fähndrich  Microsoft Research, One Microsoft Way, Redmond, WA
Sponsors
SIGACT: ACM Special Interest Group on Algorithms and Computation Theory
SIGPLAN: ACM Special Interest Group on Programming Languages
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 7,   Downloads (12 Months): 54,   Citation Count: 19
Additional Information:

abstract   references   cited by   index terms   collaborative colleagues  

Tools and Actions: Request Permissions Request Permissions    Review this Article  
DOI Bookmark: Use this link to bookmark this Article: http://doi.acm.org/10.1145/360204.360208
What is a DOI?

ABSTRACT

We present a novel approach to scalable implementation of type-based flow analysis with polymorphic subtyping. Using a new presentation of polymorphic subytping with instantiation constraints, we are able to apply context-free language (CFL) reachability techniques to type-based flow analysis. We develop a CFL-based algorithm for computing flow-information in time O(n³), where n is the size of the typed program. The algorithm substantially improves upon the best previously known algorithm for flow analysis based on polymorphic subtyping with complexity O(n8). Our technique also yields the first demand-driven algorithm for polymorphic subtype-based flow-computation. It works directly on higher-order programs with structured data of finite type (unbounded data structures are incorporated via finite approximations), supports context-sensitive, global flow summariztion and includes polymorphic recursion.


REFERENCES

Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.

 
1
 
2
[Cur90] P. Curtis. Constrained quantification in polymorphic type analysis. Technical Report CSL- 90-1, Xerox Parc, 1990.
 
3
 
4
[DHM95b] Dirk Dussart, Fritz Henglein, and Christian Mossin. Polymorphic recursion and subtype qualifications: Polymorphic binding-time analysis in polynomial time. Unpublished draft, May 1995.
5
 
6
[FA96] M. Fähndrich and A. Aiken. Making set-constraint program analyses scale. In Workshop on Set Constraints, Cambridge MA, 1996.
7
 
8
 
9
 
10
[FRD00a] M. Fähndrich, J. Rehof, and M. Das. From polymorphic subtyping to CFL reachability: Context-sensitive flow analysis using instantiation constraints. Technical Report MSRTR-99-84, Microsoft Research, 2000. Available at http://research.microsoft.com/~rehof/publications.html.
11
 
12
 
13
14
15
16
17
 
18
 
19
[Mose96] Christian Mossin. Flow Analysis of Typed Higher-Order Programs. PhD thesis, DIKU, Department of Computer Science, University of Copenhagen, 1996.
 
20
21
 
22
 
23
 
24
25
26
27
28
 
29
[Reh98] J. Rehof. The Complexity of Simple Subtyping Systems. PhD thesis, Dept. of Computer Science, University of Copenhagen, Denmark, April 1998.
 
30
[Rep98] Thomas Reps. Program analysis via graph reachability. Information and Software Technology , 40 (11-12):701-726, 1998.
31
32
 
33
 
34
35

CITED BY  19

Collaborative Colleagues:
Jakob Rehof: colleagues
Manuel Fähndrich: colleagues