, Volume 22, Issue 1, pp 93–94 | Cite as

Combining techniques of bounded model checking and constraint programming to aid for error localization

  • Mohammed Bekkouche
PhD Thesis Abstract


A model checker can produce a trace of counter-example for erroneous program, which is often difficult to exploit to locate errors in source code. In my thesis, we proposed an error localization algorithm from counter-examples, named LocFaults, combining approaches of Bounded Model-Checking (BMC) with constraint satisfaction problem (CSP). This algorithm analyzes the paths of CFG (Control Flow Graph) of the erroneous program to calculate the subsets of suspicious instructions to correct the program. Indeed, we generate a system of constraints for paths of control flow graph for which at most k conditional statements can be wrong. Then we calculate the MCSs (Minimal Correction Sets) of limited size on each of these paths. Removal of one of these sets of constraints gives a maximal satisfiable subset, in other words, a maximal subset of constraints satisfying the postcondition. To calculate the MCSs, we extend the generic algorithm proposed by Liffiton and Sakallah in order to deal with programs with numerical instructions more efficiently. This approach has been experimentally evaluated on a set of academic and realistic programs.


Program verification Testing Debugging Error localization Constraint Programming LocFaults BugAssist Minimal correction subset Minimal correction deviation 

Copyright information

© Springer Science+Business Media New York 2016

Authors and Affiliations

  1. 1.University of Nice Sophia AntipolisNiceFrance

Personalised recommendations