{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,7,16]],"date-time":"2026-07-16T05:46:11Z","timestamp":1784180771813,"version":"3.55.0"},"reference-count":54,"publisher":"Cambridge University Press (CUP)","license":[{"start":{"date-parts":[[2018,8,1]],"date-time":"2018-08-01T00:00:00Z","timestamp":1533081600000},"content-version":"unspecified","delay-in-days":212,"URL":"https:\/\/www.cambridge.org\/core\/terms"}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["J. Funct. Prog."],"published-print":{"date-parts":[[2018]]},"abstract":"<jats:title>Abstract<\/jats:title>\n                  <jats:p>\n                    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,\n                    <jats:italic>k<\/jats:italic>\n                    -call sensitivity distinguishes flows by the most recent\n                    <jats:italic>k<\/jats:italic>\n                    call sites,\n                    <jats:italic>k<\/jats:italic>\n                    -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.\n                  <\/jats:p>","DOI":"10.1017\/s0956796818000138","type":"journal-article","created":{"date-parts":[[2018,8,1]],"date-time":"2018-08-01T04:59:21Z","timestamp":1533099561000},"source":"Crossref","is-referenced-by-count":3,"title":["Abstract allocation as a unified approach to polyvariance in control-flow analyses"],"prefix":"10.1017","volume":"28","author":[{"given":"THOMAS","family":"GILRAY","sequence":"first","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"MICHAEL D.","family":"ADAMS","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"MATTHEW","family":"MIGHT","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"56","published-online":{"date-parts":[[2018,8,1]]},"reference":[{"key":"S0956796818000138_ref1","first-page":"2","volume-title":"The Cartesian Product Algorithm","author":"Agesen","year":"1995"},{"key":"S0956796818000138_ref38","doi-asserted-by":"crossref","unstructured":"Might M. & Shivers O. (2006) Improving flow analyses via \u0393CFA: Abstract garbage collection and counting. In Proceedings of the 11th ACM SIGPLAN International Conference on Functional Programming, ICFP '06. New York, NY, USA: ACM, pp. 13\u201325.","DOI":"10.1145\/1159803.1159807"},{"key":"S0956796818000138_ref9","doi-asserted-by":"publisher","DOI":"10.1145\/512950.512973"},{"key":"S0956796818000138_ref40","doi-asserted-by":"publisher","DOI":"10.1145\/1044834.1044835"},{"key":"S0956796818000138_ref53","doi-asserted-by":"crossref","unstructured":"Verstoep H. & Hage J. (2015) Polyvariant cardinality analysis for non-strict higher-order functional languages: Brief announcement. In Proceedings of the 2015 Workshop on Partial Evaluation and Program Manipulation, PEPM '15. New York, NY, USA: ACM, pp. 139\u2013142.","DOI":"10.1145\/2678015.2682536"},{"key":"S0956796818000138_ref30","doi-asserted-by":"publisher","DOI":"10.1145\/1391984.1391987"},{"key":"S0956796818000138_ref22","doi-asserted-by":"publisher","DOI":"10.1145\/2500365.2500604"},{"key":"S0956796818000138_ref44","volume-title":"A Structural Approach to Operational Semantics","author":"Plotkin","year":"1981"},{"key":"S0956796818000138_ref49","doi-asserted-by":"publisher","DOI":"10.2140\/pjm.1955.5.285"},{"key":"S0956796818000138_ref46","first-page":"189","volume-title":"Program Flow Analysis: Theory and S pplications","author":"Sharir","year":"1981"},{"key":"S0956796818000138_ref2","first-page":"26","volume-title":"Faithful Translations Between Polyvariant Flows and Polymorphic Types","author":"Amtoft","year":"2000"},{"key":"S0956796818000138_ref27","doi-asserted-by":"crossref","unstructured":"Koot R. & Hage J. (2015) Type-based exception analysis for non-strict higher-order functional languages with imprecise exception semantics. In Proceedings of the 2015 Workshop on Partial Evaluation and Program Manipulation, PEPM '15. New York, NY, USA: ACM, pp. 127\u2013138.","DOI":"10.1145\/2678015.2682542"},{"key":"S0956796818000138_ref13","unstructured":"Gilray T. & Might M. (2013 November) A unified approach to polyvariance in abstract interpretations. In Proceedings of the Workshop on Scheme and Functional Programming, Scheme '13."},{"key":"S0956796818000138_ref51","doi-asserted-by":"crossref","unstructured":"Van Horn D. & Might M. (2010) Abstracting abstract machines. In Proceedings of the 15th ACM SIGPLAN International Conference on Functional Programming, ICFP '10. New York, NY, USA: ACM, pp. 51\u201362.","DOI":"10.1145\/1863543.1863553"},{"key":"S0956796818000138_ref33","doi-asserted-by":"publisher","DOI":"10.1145\/3062341.3062380"},{"key":"S0956796818000138_ref42","first-page":"329","volume-title":"Making Type Inference Practical","author":"Oxh\u00f8j","year":"1992"},{"key":"S0956796818000138_ref54","doi-asserted-by":"publisher","DOI":"10.1145\/271510.271523"},{"key":"S0956796818000138_ref11","doi-asserted-by":"crossref","unstructured":"Earl C. , Sergey I. , Might M. & Van Horn D. (2012 September) Introspective pushdown analysis of higher-order programs. In International Conference on Functional Programming, pp. 177\u2013188.","DOI":"10.1145\/2398856.2364576"},{"key":"S0956796818000138_ref39","doi-asserted-by":"crossref","unstructured":"Might M. , Smaragdakis Y. & Van Horn D. (2010) Resolving and exploiting the k-CFA paradox: Illuminating functional versus object-oriented program analysis. In Proceedings of the 31st ACM SIGPLAN Conference on Programming Language Design and Implementation, PLDI '10. New York, NY, USA: ACM, pp. 305\u2013315.","DOI":"10.1145\/1806596.1806631"},{"key":"S0956796818000138_ref41","doi-asserted-by":"crossref","unstructured":"Naik M. , Aiken A. & Whaley J. (2006) Effective static race detection for Java. In Proceedings of the 27th ACM SIGPLAN Conference on Programming Language Design and Implementation, PLDI '06. New York, NY, USA: ACM, pp. 308\u2013319.","DOI":"10.1145\/1133981.1134018"},{"key":"S0956796818000138_ref4","first-page":"1","volume-title":"Proceedings of the 2nd ACM SIGPLAN International Conference on Functional Programming","author":"Banerjee","year":"1997"},{"key":"S0956796818000138_ref50","doi-asserted-by":"publisher","DOI":"10.1145\/1411204.1411243"},{"key":"S0956796818000138_ref12","doi-asserted-by":"publisher","DOI":"10.1145\/155090.155113"},{"key":"S0956796818000138_ref14","first-page":"134","volume-title":"A Survey of Polyvariance in Abstract Interpretations","author":"Gilray","year":"2014"},{"key":"S0956796818000138_ref20","first-page":"232","volume-title":"Type-Directed Flow Analysis for Typed Intermediate Languages","author":"Jagannathan","year":"1997"},{"key":"S0956796818000138_ref17","doi-asserted-by":"publisher","DOI":"10.1007\/BF01808954"},{"key":"S0956796818000138_ref23","doi-asserted-by":"crossref","unstructured":"Jones N. D. & Muchnick S. S. (1982) A flexible approach to interprocedural data flow analysis and programs with recursive data structures. In Proceedings of the 9th ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages, POPL '82. New York, NY, USA: ACM, pp. 66\u201374.","DOI":"10.1145\/582153.582161"},{"key":"S0956796818000138_ref3","volume-title":"Compiling with Continuations","author":"Appel","year":"2007"},{"key":"S0956796818000138_ref5","doi-asserted-by":"crossref","unstructured":"Besson F. (2009) CPA beats \u221e-CFA. In Proceedings of the 11th International Workshop on Formal Techniques for Java-like Programs, FTfJP '09. New York, NY, USA: ACM, pp. 7:1\u20137:6.","DOI":"10.1145\/1557898.1557905"},{"key":"S0956796818000138_ref6","doi-asserted-by":"crossref","unstructured":"Bravenboer M. & Smaragdakis Y. (2009) Strictly declarative specification of sophisticated points-to analyses. In Proceedings of the 24th ACM SIGPLAN Conference on Object Oriented Programming Systems Languages and Applications, OOPSLA '09. New York, NY, USA: ACM, pp. 243\u2013262.","DOI":"10.1145\/1640089.1640108"},{"key":"S0956796818000138_ref7","doi-asserted-by":"crossref","unstructured":"Cousot P. (1997) Types as abstract interpretations. In Proceedings of the 24th ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages, POPL '97. New York, NY, USA: ACM, pp. 316\u2013331.","DOI":"10.1145\/263699.263744"},{"key":"S0956796818000138_ref8","unstructured":"Cousot P. & Cousot R. (1976) Static determination of dynamic properties of programs. In Proceedings of the 2nd International Symposium on Programming. Paris, France, pp. 106\u2013130."},{"key":"S0956796818000138_ref10","doi-asserted-by":"publisher","DOI":"10.1145\/567752.567778"},{"key":"S0956796818000138_ref15","doi-asserted-by":"crossref","unstructured":"Gilray T. , Adams M. D. & Might M. (2016a) Allocation characterizes polyvariance: A unified methodology for polyvariant control-flow analysis. In Proceedings of the 21st ACM SIGPLAN International Conference on Functional Programming, ICFP 2016. New York, NY, USA: ACM, pp. 407\u2013420.","DOI":"10.1145\/2951913.2951936"},{"key":"S0956796818000138_ref16","doi-asserted-by":"crossref","unstructured":"Gilray T. , Lyde S. , Adams M. D. , Might M. & Van Horn D. (2016b) Pushdown control-flow analysis for free. In Proceedings of the 43rd Annual ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages, POPL '16. New York, NY, USA: ACM, pp. 691\u2013704.","DOI":"10.1145\/2914770.2837631"},{"key":"S0956796818000138_ref19","doi-asserted-by":"crossref","unstructured":"Jagannathan S. & Weeks S. (1995) A unified treatment of flow analysis in higher-order languages. In Proceedings of the 22nd ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages, POPL '95. New York, NY, USA: ACM, pp. 393\u2013407.","DOI":"10.1145\/199448.199536"},{"key":"S0956796818000138_ref21","unstructured":"Jenkins M. , Andersen L. , Gilray T. & Might M. (2014 November) Concrete and abstract interpretation: Better together. In Workshop on Scheme and Functional Programming, Scheme '14."},{"key":"S0956796818000138_ref24","first-page":"22","volume-title":"Natural Semantics","author":"Kahn","year":"1987"},{"key":"S0956796818000138_ref25","doi-asserted-by":"crossref","unstructured":"Kastrinis G. & Smaragdakis Y. (2013) Hybrid context-sensitivity for points-to analysis. In Proceedings of the 34th ACM SIGPLAN Conference on Programming Language Design and Implementation, PLDI '13. New York, NY, USA: ACM, pp. 423\u2013434.","DOI":"10.1145\/2491956.2462191"},{"key":"S0956796818000138_ref26","doi-asserted-by":"publisher","DOI":"10.1145\/1291151.1291179"},{"key":"S0956796818000138_ref28","volume-title":"Program Analysis Using Binary Decision Diagrams","author":"Lhot\u00e1k","year":"2006"},{"key":"S0956796818000138_ref29","first-page":"47","volume-title":"Context-Sensitive Points-to Analysis: Is it Worth It?","author":"Lhot\u00e1k","year":"2006"},{"key":"S0956796818000138_ref31","doi-asserted-by":"publisher","DOI":"10.1145\/1108792.1108797"},{"key":"S0956796818000138_ref18","doi-asserted-by":"crossref","unstructured":"Holdermans S. & Hage J. (2010) Polyvariant flow analysis with higher-ranked polymorphic types and higher-order effect operators. In Proceedings of the 15th ACM SIGPLAN International Conference on Functional Programming, ICFP '10. New York, NY, USA: ACM, pp. 63\u201374.","DOI":"10.1145\/1863543.1863554"},{"key":"S0956796818000138_ref32","unstructured":"Liang S. & Might M. (2012) Hash-flow taint analysis of higher-order programs. In Proceedings of the 7th Workshop on Programming Languages and Analysis for Security, PLAS '12. New York, NY, USA: ACM, pp. 8:1\u20138:12."},{"key":"S0956796818000138_ref35","volume-title":"Subcubic Control Flow Analysis Algorithms","author":"Midtgaard","year":"2009"},{"key":"S0956796818000138_ref34","doi-asserted-by":"publisher","DOI":"10.1145\/2187671.2187672"},{"key":"S0956796818000138_ref36","first-page":"407","volume-title":"Abstract Interpreters for Free","author":"Might","year":"2010"},{"key":"S0956796818000138_ref37","first-page":"260","volume-title":"A Posteriori Soundness for Non-Deterministic Abstract Interpretations","author":"Might","year":"2009"},{"key":"S0956796818000138_ref43","doi-asserted-by":"publisher","DOI":"10.1017\/S095679680100394X"},{"key":"S0956796818000138_ref45","unstructured":"Racket Community. (2015) Racket Programming Language. Accessed December 26, 2017. Available at: http:\/\/racket-lang.org\/."},{"key":"S0956796818000138_ref47","volume-title":"Control-Flow Analysis of Higher-Order Languages","author":"Shivers","year":"1991"},{"key":"S0956796818000138_ref48","doi-asserted-by":"publisher","DOI":"10.1145\/1926385.1926390"},{"key":"S0956796818000138_ref52","doi-asserted-by":"crossref","unstructured":"Vardoulakis D. & Shivers O. (2010) CFA2: A context-free approach to control-flow analysis. In Proceedings of the European Symposium on Programming, vol. 6012, LNCS, pp. 570\u2013589.","DOI":"10.1007\/978-3-642-11957-6_30"}],"container-title":["Journal of Functional Programming"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.cambridge.org\/core\/services\/aop-cambridge-core\/content\/view\/S0956796818000138","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,5,26]],"date-time":"2026-05-26T22:36:46Z","timestamp":1779835006000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.cambridge.org\/core\/product\/identifier\/S0956796818000138\/type\/journal_article"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2018]]},"references-count":54,"alternative-id":["S0956796818000138"],"URL":"https:\/\/doi.org\/10.1017\/s0956796818000138","relation":{},"ISSN":["0956-7968","1469-7653"],"issn-type":[{"value":"0956-7968","type":"print"},{"value":"1469-7653","type":"electronic"}],"subject":[],"published":{"date-parts":[[2018]]},"article-number":"e18"}}