arrow
Return

Modelling dynamic memory management in constraint-based testing

delete2009-11-01
delete7
delete
OA
AI
F
Florence Charreteur *
B
Bernard Botella
A
Arnaud Gotlieb
DOI:10.1016/j.jss.2009.06.029delete
deleteOriginal
deleteShare
deleteSave
View PDF
Abstract

Abstract

En 中文
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 should be 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 powerful deduction rules on abstract states of the memory enhancing the constraint reasoning process. This allows to automatically generate test data respecting complex coverage objectives. We illustrate our approach on a well-known difficult example program that contains dynamic memory allocation/deallocation, structures and loops. We describe our implementation and provide preliminary experimental results on this example that show the highly deductive potential of the approach. (C) 2009 Elsevier Inc. All rights reserved.
Keywords:
Software testing
Constraint-based testing
Automatic test data generation
Dynamic structures
AI Summary

AI Summary

Key information extracted from the uploaded paper, including a brief overview, abstract, background, key highlights, visual analysis, and future outlook.

Journal

Journal of Systems and Software cover
Journal of Systems and Software
IF:
4.1
Papers:
5.4K
Citations:
8.4K

Organization

I
Inria
Scholars:
3.5K
Papers: 2.5K
Citations: 343
U
universite de rennes
Scholars:
1.7W
Papers: 1.3W
Citations: 30
C
CEA
Scholars:
3.5W
Papers: 2.3W
Citations: 62
researcher View more organizations