2006
DOI: 10.1007/11881216_22
|View full text |Cite
|
Sign up to set email alerts
|

Diagnosing Errors in DbC Programs Using Constraint Programming

Abstract: Model-Based Diagnosis allows to determine why a correctly designed system does not work as it was expected. In this paper, we propose a methodology for software diagnosis which is based on the combination of Design by Contract, Model-Based Diagnosis and Constraint Programming. The contracts are specified by assertions embedded in the source code. These assertions and an abstraction of the source code are transformed into constraints, in order to obtain the model of the system. Afterwards, a goal function is cr… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
2
1
1
1

Citation Types

0
15
0

Year Published

2010
2010
2023
2023

Publication Types

Select...
3
3
1

Relationship

0
7

Authors

Journals

citations
Cited by 13 publications
(15 citation statements)
references
References 9 publications
0
15
0
Order By: Relevance
“…Note that this step distinguishes our approach from the previously published approaches, which also make use of constraints. In [26], [27], [31], [32], [33], [34] the whole program and not the execution trace is converted. This leads to a larger constraint system and imposes additional assumptions like the considered maximum number of iterations.…”
Section: Debugging Approachmentioning
confidence: 99%
See 2 more Smart Citations
“…Note that this step distinguishes our approach from the previously published approaches, which also make use of constraints. In [26], [27], [31], [32], [33], [34] the whole program and not the execution trace is converted. This leads to a larger constraint system and imposes additional assumptions like the considered maximum number of iterations.…”
Section: Debugging Approachmentioning
confidence: 99%
“…We call such a program part an explanation. There are many approaches that are capable of returning explanations including [21], [22], [23], [24], [25] and [26], [27] among others.…”
Section: Definition 32 (Debugging Problem)mentioning
confidence: 99%
See 1 more Smart Citation
“…e = e -1; } 6. return res; As loops cannot be directly converted to our constraint representation, past works have proposed to unroll loops, i.e., to create a loop-free program by replacing the loop of the original program by a set of nested if-statements (e.g., see [2] and [13]). If the maximum number of iterations is known in advance, then the loop-free program is equivalent to the original program.…”
Section: A Conversion Of Programs To Constraintsmentioning
confidence: 99%
“…Constraints have been used for various purposes like verification [4], debugging [2], [13], program understanding [14] as well as testing [6], [9], [10]. Some of the proposed techniques use constraints to state specification knowledge like pre-and post-conditions.…”
Section: Introductionmentioning
confidence: 99%