Tactic Program-Based Testing and Bounded Verification in Isabelle/HOL

被引:2
作者
Keller, Chantal [1 ]
机构
[1] Univ Paris Saclay, Univ Paris Sud, UMR8623, CNRS,LRI, Orsay, France
来源
TESTS AND PROOFS, TAP 2018 | 2018年 / 10889卷
关键词
White-box testing; Bounded verification; Symbolic execution; Coverage criteria; Interactive theorem proving; CODE;
D O I
10.1007/978-3-319-92994-1_6
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Program-based test-generation methods (also called "white-box" tests) are conventionally described in terms of a control flow graph and the generation of path conditions along the paths in this graph. In this paper, we present an alternative formalization based on state-exception monads that allows for direct derivations of path conditions from program presentations in them; the approach lends itself both for program-based testing procedures-designed to meet classical coverage criteria and bounded verification. Our formalization is implemented in the Isabelle/HOL interactive theorem prover, where symbolic execution can be processed through tactics implementing test-generation strategies for various coverage criteria. The resulting environment is a major step towards testing support for the development of invariants and post-conditions in C verification environments similar to Isabelle/AutoCorres.
引用
收藏
页码:103 / 119
页数:17
相关论文
共 18 条
[1]  
[Anonymous], 2006, THESIS
[2]  
Blanchette JC, 2010, LECT NOTES COMPUT SC, V6172, P131, DOI 10.1007/978-3-642-14052-5_11
[3]  
Bockenek J.A., 2017, THESIS
[4]   Automating Structural Testing of C Programs: Experience with PathCrawler [J].
Botella, Bernard ;
Delahaye, Mickael ;
Hong-Tuan-Ha, Stephane ;
Kosmatov, Nikolai ;
Mouy, Patricia ;
Roger, Muriel ;
Williams, Nicky .
2009 ICSE WORKSHOP ON AUTOMATION OF SOFTWARE TEST, 2009, :70-78
[5]   On theorem prover-based testing [J].
Brucker, Achim D. ;
Wolff, Burkhart .
FORMAL ASPECTS OF COMPUTING, 2013, 25 (05) :683-721
[6]  
Church A., 1932, ANN MATH
[7]   Testing monadic code with QuickCheck [J].
Claessen, K ;
Hughes, J .
ACM SIGPLAN NOTICES, 2002, 37 (12) :47-59
[8]  
de Halleux J, 2008, LECT NOTES COMPUT SC, V4966, P171
[9]  
FCAS Team, 2002, WHAT IS DEC APPL MOD
[10]  
Filieri A., 2014, SOFTWARE ENG, P39