Reference. Abstract allocation as a unified approach to polyvariance in control-flow analyses

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.

Cite

Cite as @gilray-2018-abstract (helia, typst) · \cite{gilray-2018-abstract} (LaTeX)
BibTeX
bibtex · 1 line
@article{gilray-2018-abstract, title={Abstract allocation as a unified approach to polyvariance in control-flow analyses}, volume={28}, ISSN={1469-7653}, url={http://dx.doi.org/10.1017/s0956796818000138}, DOI={10.1017/s0956796818000138}, journal={Journal of Functional Programming}, publisher={Cambridge University Press (CUP)}, author={GILRAY, THOMAS and ADAMS, MICHAEL D. and MIGHT, MATTHEW}, year={2018} }
hayagriva YAML (typst)
yaml · 17 lines
gilray-2018-abstract:
  type: article
  title: Abstract allocation as a unified approach to polyvariance in control-flow analyses
  author:
  - GILRAY, THOMAS
  - ADAMS, MICHAEL D.
  - MIGHT, MATTHEW
  date: 2018
  url: http://dx.doi.org/10.1017/s0956796818000138
  serial-number:
    doi: 10.1017/s0956796818000138
    issn: 1469-7653
  parent:
    type: periodical
    title: Journal of Functional Programming
    publisher: Cambridge University Press (CUP)
    volume: 28
Cites 54 works (3 here)
With notes (3)

Abstracting abstract machines vanhorn-2010-abstracting

PDF · DOI · arXiv · pldb

Resolving and exploiting the 𝑘-CFA paradox: illuminating functional vs. object-oriented program analysis might-2010-resolving

PDF · DOI · arXiv · pldb

Improving flow analyses via ΓCFA: abstract garbage collection and counting might-2006-improving

PDF · DOI · pldb
External (51)
gilray-2018-abstract reference entries/refs/gilray-2018-abstract/gilray-2018-abstract.hel