Reference. Resolving and exploiting the -CFA paradox: illuminating functional vs. object-oriented program analysis
Cite
Cited by (3)
Demand Control-Flow Analysis germane-2019-demand
Abstract allocation as a unified approach to polyvariance in control-flow analyses gilray-2018-abstract
In higher order settings, control-flow analysis aims to model the propagation of both data and control by finitely approximating program behaviors across all possible executions. The polyvariance of an analysis describes the number of distinct abstract representations, or variants, for each syntactic entity (e.g., functions, variables, or intermediate expressions). Monovariance, one of the most basic forms of polyvariance, maintains only a single abstract representation for each variable or expression. Other polyvariant strategies allow a greater number of distinct abstractions and increase analysis complexity with the aim of increasing analysis precision. For example, k -call sensitivity distinguishes flows by the most recent k call sites, k -object sensitivity by a history of allocation points, and argument sensitivity by a tuple of dynamic argument types. From this perspective, even a concrete operational semantics may be thought of as an unboundedly polyvariant analysis. In this paper, we develop a unified methodology that fully captures this design space. It is easily tunable and guarantees soundness regardless of how tuned. We accomplish this by extending the method of abstracting abstract machines, a systematic approach to abstract interpretation of operational abstract-machine semantics. Our approach permits arbitrary instrumentation of the underlying analysis and arbitrary tuning of an abstract-allocation function. We show that the design space of abstract allocators both unifies and generalizes existing notions of polyvariance. Simple changes to the behavior of this function recapitulate classic styles of analysis and yield novel combinations and variants.
Pushdown control-flow analysis for free gilray-2016-pushdown
Cites 19 works (1 here)
With notes (1)
Improving flow analyses via ΓCFA: abstract garbage collection and counting might-2006-improving
External (18)
- Control-flow analysis of functional programs (2012)
- Strictly declarative specification of sophisticated points-to analyses (2009)
- Evaluating the benefits of context-sensitive points-to analysis using a BDD-based implementation (2008)
- Deciding kCFA is complete for EXPTIME (2008)
- Relating complexity and precision in control flow analysis (2007)
- Environment analysis via ΔCFA (2006)
- Program analysis using binary decision diagrams (2006)
- Higher-order control-flow analysis in retrospect: lessons learned, lessons abandoned (2004)
- Constraint abstractions (2001)
- Featherweight Java: a minimal core calculus for Java and GJ (2001)
- Type-base flow analysis: from polymorphic subtyping to CFL-reachability (2001)
- Flow analysis of typed higher-order programs (1997)
- A unified treatment of flow analysis in higher-order languages (1995)
- Compiling with continuations (1991)
- Control-flow analysis of higher-order languages (1991)
- Compiling a functional language (1984)
- Systematic design of program analysis frameworks (1979)
- Abstract interpretation: a unified lattice model for static analysis of programs by construction or approximation of fixpoints (1977)