Exact Flow Analysis by Higher-Order Model Checking

被引:0
|
作者
Tobita, Yoshihiro [1 ]
Tsukada, Takeshi [1 ]
Kobayashi, Naoki [1 ]
机构
[1] Tohoku Univ, Sendai, Miyagi, Japan
来源
FUNCTIONAL AND LOGIC PROGRAMMING (FLOPS 2012) | 2012年 / 7294卷
关键词
RECURSION SCHEMES;
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
We propose a novel control flow analysis for higher-order functional programs, based on a reduction to higher-order model checking. The distinguished features of our control flow analysis are that, unlike most of the control flow analyses like k-CFA, it is exact for simply-typed lambda-calculus with recursion and finite base types, and that, unlike Mossin's exact flow analysis, it is indeed runnable in practice, at least for small programs. Furthermore, under certain (arguably strong) assumptions, our control flow analysis runs in time cubic in the size of a program. We formalize the reduction of control flow analysis to higher-order model checking, prove the correctness, and report preliminary experiments.
引用
收藏
页码:275 / 289
页数:15
相关论文
共 15 条
  • [1] Model Checking Higher-Order Programs
    Kobayashi, Naoki
    JOURNAL OF THE ACM, 2013, 60 (03)
  • [2] 10 Years of the Higher-Order Model Checking Project
    Kobayashi, Naoki
    PROCEEDINGS OF THE 21ST INTERNATIONAL SYMPOSIUM ON PRINCIPLES AND PRACTICE OF DECLARATIVE PROGRAMMING (PPDP 2019), 2019,
  • [3] On Model-Checking Higher-Order Effectful Programs
    Dal Lago, Ugo
    Ghyselen, Alexis
    PROCEEDINGS OF THE ACM ON PROGRAMMING LANGUAGES-PACMPL, 2024, 8 (POPL):
  • [4] Higher-Order Model Checking: From Theory to Practice
    Kobayashi, Naoki
    26TH ANNUAL IEEE SYMPOSIUM ON LOGIC IN COMPUTER SCIENCE (LICS 2011), 2011, : 219 - 224
  • [5] The Complexity of Model Checking (Collapsible) Higher-Order Pushdown Systems
    Hague, Matthew
    To, Anthony Widjaja
    IARCS ANNUAL CONFERENCE ON FOUNDATIONS OF SOFTWARE TECHNOLOGY AND THEORETICAL COMPUTER SCIENCE (FSTTCS 2010), 2010, 8 : 228 - 239
  • [6] A Traversal-based Algorithm for Higher-Order Model Checking
    Neatherway, Robin P.
    Ong, C. -H. Luke
    Ramsay, Steven J.
    ACM SIGPLAN NOTICES, 2012, 47 (09) : 353 - 364
  • [7] Finitary Semantics of Linear Logic and Higher-Order Model-Checking
    Grellois, Charles
    Mellies, Paul-Andre
    MATHEMATICAL FOUNDATIONS OF COMPUTER SCIENCE 2015, PT I, 2015, 9234 : 256 - 268
  • [8] A Type-Directed Abstraction Refinement Approach to Higher-Order Model Checking
    Ramsay, Steven J.
    Neatherway, Robin P.
    Ong, C. -H. Luke
    ACM SIGPLAN NOTICES, 2014, 49 (01) : 61 - 72
  • [9] Verification of tree-processing programs via higher-order mode checking
    Unno, Hiroshi
    Tabuchi, Naoshi
    Kobayashi, Naoki
    MATHEMATICAL STRUCTURES IN COMPUTER SCIENCE, 2015, 25 (04) : 841 - 866
  • [10] Linearity in Higher-Order Recursion Schemes
    Clairambault, Pierre
    Grellois, Charles
    Murawski, Andrzej S.
    PROCEEDINGS OF THE ACM ON PROGRAMMING LANGUAGES-PACMPL, 2018, 2