Program Analysis Is Harder Than Verification: A Computability Perspective

被引:9
作者
Cousot, Patrick [1 ]
Giacobazzi, Roberto [2 ,3 ]
Ranzato, Francesco [4 ]
机构
[1] NYU, New York, NY USA
[2] Univ Verona, Verona, Italy
[3] IMDEA Software Inst, Madrid, Spain
[4] Univ Padua, Padua, Italy
来源
COMPUTER AIDED VERIFICATION, CAV 2018, PT II | 2018年 / 10982卷
关键词
SEMANTICS;
D O I
10.1007/978-3-319-96142-2_8
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
We study from a computability perspective static program analysis, namely detecting sound program assertions, and verification, namely sound checking of program assertions. We first design a general computability model for domains of program assertions and corresponding program analysers and verifiers. Next, we formalize and prove an instantiation of Rice's theorem for static program analysis and verification. Then, within this general model, we provide and show a precise statement of the popular belief that program analysis is a harder problem than program verification: we prove that for finite domains of program assertions, program analysis and verification are equivalent problems, while for infinite domains, program analysis is strictly harder than verification.
引用
收藏
页码:75 / 95
页数:21
相关论文
共 36 条
[1]  
Alglave J, 2011, LECT NOTES COMPUT SC, V6996, P28, DOI 10.1007/978-3-642-24372-1_3
[2]   The Intensional Content of Rice's Theorem (Pearl) [J].
Asperti, Andrea .
POPL'08: PROCEEDINGS OF THE 35TH ANNUAL ACM SIGPLAN-SIGACT SYMPOSIUM ON PRINCIPLES OF PROGRAMMING LANGUAGES, 2008, :113-119
[3]  
Barnett M, 2006, LECT NOTES COMPUT SC, V4111, P364
[4]  
Biere A, 1999, LECT NOTES COMPUT SC, V1579, P193
[5]   Analysing the Program Analyser [J].
Cadar, Cristian ;
Donaldson, Alastair F. .
2016 IEEE/ACM 38TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING COMPANION (ICSE-C), 2016, :765-768
[6]  
Cousot P., 1992, Journal of Logic and Computation, V2, P511, DOI 10.1093/logcom/2.4.511
[7]   Constructive design of a hierarchy of semantics of a transition system by abstract interpretation [J].
Cousot, P .
THEORETICAL COMPUTER SCIENCE, 2002, 277 (1-2) :47-103
[8]  
COUSOT P, 1992, LECT NOTES COMPUT SC, V631, P269, DOI 10.1007/3-540-55844-6_142
[9]  
Cousot P., 1979, POPL, P269, DOI [10.1145/567752.567778, DOI 10.1145/567752.567778]
[10]  
Cousot P., 1978, POPL, P84, DOI DOI 10.1145/512760.512770