首页> 外文会议>Academic and Industrial Conference Practice and Research Techniques >Modelling Dynamic Memory Management in Constraint-Based Testing
【24h】

Modelling Dynamic Memory Management in Constraint-Based Testing

机译:基于约束的测试中的动态内存管理建模

获取原文

摘要

Constraint-Based Testing (CBT) is the process of generating test cases against a testing objective by using constraint solving techniques. When programs contain dynamic memory allocation and loops, constraint reasoning becomes challenging as new variables and new constraints are created during the test data generation process. In this paper, we address this problem by proposing a new constraint model of C programs based on operators that model dynamic memory management. These operators apply deduction rules on abstract states of the memory allowing so to enhance the constraint reasoning process that permits to generate test data for these programs. We illustrate our approach on structural testing of a complex program that contains dynamic memory allocation/deallocation, structures and loops. An implementation is in progress and first experimental results obtained on this program show the highly deductive potential of the approach.
机译:基于约束的测试(CBT)是通过使用约束求解技术产生测试用例的测试用例。当程序包含动态内存分配和循环时,约束推理变得具有挑战性,因为在测试数据生成过程中创建了新的变量和新约束。在本文中,我们通过提出基于模型动态内存管理的运算符的C程序的新约束模型来解决这个问题。这些运算符在内存的抽象状态上应用扣除规则,以便增强约束推理过程,该过程允许为这些程序生成测试数据。我们说明了我们对一个包含动态内存分配/解放,结构和循环的复杂程序的结构测试的方法。实施正在进行中,在该计划上获得的第一个实验结果表明了这种方法的高度演绎潜力。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号