首页> 外文期刊>International Journal on Software Tools for Technology Transfer >Abstraction and refinement of mathematical functions toward SMT-based test-case generation
【24h】

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

机译:基于SMT的测试用例生成的数学函数的抽象和完善

获取原文
获取原文并翻译 | 示例
           

摘要

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.
机译:我们提出了一种生成软件测试用例的新颖方法,该方法包括数学函数,例如三角函数,对数函数,实现为具有非线性插值的查找表的函数,等等。在边界模型检查方案中,迭代使用可满足性模理论(SMT)求解器来生成测试用例。在提出的方法中,对数学函数进行了抽象,以便可以使用SMT求解器轻松处理导出的公式。根据前面的反例对抽象进行自适应地改进。我们还提出了一种通过采样和机器学习来估计数学函数抽象的通用方法。尽管本文提出的方法主要针对测试用例生成的主题,但在抽象应为正确的过逼近的假设下,它也适用于普通有界模型检查。我们通过将其应用于汽车行业的嵌入式控制软件示例中,对所提出的方法进行了评估。实验结果表明了该方法的有效性。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号