Abstraction and refinement of mathematical functions toward SMT-based test-case generation

被引:3
|
作者
Kutsuna, Takuro [1 ]
Ishii, Yoshinao [1 ]
Yamamoto, Akihiro [2 ]
机构
[1] Toyota Cent Res & Dev Labs Inc, 41-1 Yokomichi, Nagakute, Aichi, Japan
[2] Kyoto Univ, Sakyo Ku, Yoshida Honmachi, Kyoto, Japan
关键词
27;
D O I
10.1007/s10009-015-0389-7
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
We propose a novel approach for generating test cases of software that includes mathematical functions, such as trigonometric functions, logarithmic functions, functions implemented as look-up tables with non-linear interpolation, and so on. A satisfiability modulo theories (SMT) solver is iteratively used to generate test cases in the scheme of bounded model checking. In the proposed method, mathematical functions are abstracted so that the derived formula can be easily treated using an SMT solver. The abstraction is refined adaptively based on the previous counterexamples. We also propose a general method to estimate an abstraction of a mathematical function by means of sampling and machine learning. Although the method proposed in this paper addresses mainly the topic of test-case generation, it is also applicable to ordinary bounded model checking under the assumption that the abstraction should be a correct over-approximation. We evaluated the proposed method by applying it to an example of embedded control software taken from the automotive industry. The experimental results show the usefulness of the proposed method.
引用
收藏
页码:109 / 120
页数:12
相关论文
共 50 条
  • [1] Abstraction and refinement of mathematical functions toward SMT-based test-case generation
    Takuro Kutsuna
    Yoshinao Ishii
    Akihiro Yamamoto
    International Journal on Software Tools for Technology Transfer, 2016, 18 : 109 - 120
  • [2] A SMT-based Diagnostic Test Generation Method for Combinational Circuits
    Prabhu, Sarvesh
    Hsiao, Michael S.
    Lingappan, Loganathan
    Gangaram, Vijay
    2012 IEEE 30TH VLSI TEST SYMPOSIUM (VTS), 2012, : 215 - 220
  • [3] SMT-Based Automatic Proof of ASM Model Refinement
    Arcaini, Paolo
    Gargantini, Angelo
    Riccobene, Elvinia
    SOFTWARE ENGINEERING AND FORMAL METHODS: 14TH INTERNATIONAL CONFERENCE, SEFM 2016, 2016, 9763 : 253 - 269
  • [4] SMT-based generation of symbolic automata
    Xudong Qin
    Simon Bliudze
    Eric Madelaine
    Zechen Hou
    Yuxin Deng
    Min Zhang
    Acta Informatica, 2020, 57 : 627 - 656
  • [5] SMT-based generation of symbolic automata
    Qin, Xudong
    Bliudze, Simon
    Madelaine, Eric
    Hou, Zechen
    Deng, Yuxin
    Zhang, Min
    ACTA INFORMATICA, 2020, 57 (3-5) : 627 - 656
  • [6] SMT-Based Array Invariant Generation
    Larraz, Daniel
    Rodriguez-Carbonell, Enric
    Rubio, Albert
    VERIFICATION, MODEL CHECKING, AND ABSTRACT INTERPRETATION (VMCAI 2013), 2013, 7737 : 169 - 188
  • [7] Efficient Weighted Model Integration via SMT-Based Predicate Abstraction
    Morettin, Paolo
    Passerini, Andrea
    Sebastiani, Roberto
    PROCEEDINGS OF THE TWENTY-SIXTH INTERNATIONAL JOINT CONFERENCE ON ARTIFICIAL INTELLIGENCE, 2017, : 720 - 728
  • [8] On the Combination of Polyhedral Abstraction and SMT-Based Model Checking for Petri Nets
    Amat, Nicolas
    Berthomieu, Bernard
    Dal Zilio, Silvano
    APPLICATION AND THEORY OF PETRI NETS AND CONCURRENCY (PETRI NETS 2021), 2021, 12734 : 164 - 185
  • [9] Technology of test-case generation
    Lúcio, L
    Samer, M
    MODEL-BASED TESTING OF REACTIVE SYSTEMS, 2005, 3472 : 323 - 354
  • [10] TEST-CASE GENERATION WITH IOGEN
    LINDQUIST, TE
    JENKINS, JR
    IEEE SOFTWARE, 1988, 5 (01) : 72 - 79