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 条
  • [11] Krivine machines and higher-order schemes
    Salvati, Sylvain
    Walukiewicz, Igor
    INFORMATION AND COMPUTATION, 2014, 239 : 340 - 355
  • [12] Towards a logic programming methodology based on higher-order predicates
    Hamfelt, A
    Nilsson, JF
    NEW GENERATION COMPUTING, 1997, 15 (04) : 421 - 447
  • [13] Towards a logic programming methodology based on higher-order predicates
    Andreas Hamfelt
    Jørgen Fischer Nilsson
    New Generation Computing, 1997, 15 : 421 - 447
  • [14] C-SHORe A Collapsible Approach to Verifying Higher-Order Programs
    Broadbent, Christopher
    Carayol, Arnaud
    Hague, Matthew
    Serre, Olivier
    ACM SIGPLAN NOTICES, 2013, 48 (09) : 13 - 24
  • [15] Models of Higher-Order Computation: Recursion Schemes and Collapsible Pushdown Automata
    Ong, C. -H. L.
    LOGICS AND LANGUAGES FOR RELIABILITY AND SECURITY, 2010, 25 : 263 - 299