Sciweavers

CP
1998
Springer

Error-Correcting Source Code

13 years 8 months ago
Error-Correcting Source Code
We study how constraint-based static analysis can be applied to the automated and systematic debugging of program errors. Strongly moding and constraint-based mode analysis are turning to play fundamental roles in debugging concurrent logic/constraint programs as well as in establishing the consistency of communication protocols and in optimization. Mode analysis of Moded Flat GHC is a constraint satisfaction problem with many simple mode constraints, and can be solved efficiently by unification over feature graphs. We have proposed a simple and efficient technique which, given a non-well-moded program, diagnoses the "reasons" of inconsistency by finding minimal inconsistent subsets of mode constraints. Since each constraint keeps track of the symbol occurrence in the program that imposed the constraint, a minimal subset also tells possible sources of program errors. The technique is quite general and can be used with other constraint-based frameworks such as strong typing. B...
Yasuhiro Ajiro, Kazunori Ueda, Kenta Cho
Added 05 Aug 2010
Updated 05 Aug 2010
Type Conference
Year 1998
Where CP
Authors Yasuhiro Ajiro, Kazunori Ueda, Kenta Cho
Comments (0)