Localizing program errors via slicing and reasoning

Fei Pu, Yan Zhang

    Research output: Chapter in Book / Conference PaperConference Paperpeer-review

    2 Citations (Scopus)

    Abstract

    ![CDATA[Model-based program debugging exploits discrepancies between the program behavior anticipated by a programmer and the program's actual behavior when executed on a set of inputs. From symptoms exhibited by a failing trace, potential culprits in the program can be localized. However, since the cause of the error is nested deeper into the code than the error itself, localizing errors and correcting the errors are most time consuming hard work. The error trace produced by a model checker may contain more information than it appears. Thus, counterexamples can be enough and are indicative for the cause of violation of the property. We present an assumption-based approach to localize the cause of a property violation using reasoning with constraints. In order to reduce the time consuming for error localizing, we first use dynamic program slicing to localize several statements to account for the violation of property. Assumption among these statements is then made to point out which statement(s) is (are) faulty. Some constraints will be introduced from the properties which are model checked for the program. A calculus of reasoning with these constraints is processed under the assumption along a counterexample. If the result may be consistent, the assumption is true (we can localize errors in those statements which the assumption suppose them to be faulty), otherwise, the assumption is wrong and another assumption should be made.Some examples support the applicability and effectiveness of our approach.]]
    Original languageEnglish
    Title of host publicationProceedings of the 11th IEEE High Assurance Systems Engineering Symposium (HASE 2008), Nanjing, China, December 3 - 5, 2008
    PublisherIEEE
    Pages187-196
    Number of pages10
    ISBN (Print)9780769534824
    DOIs
    Publication statusPublished - 2008
    EventIEEE International High-Assurance Systems Engineering Symposium -
    Duration: 3 Dec 2008 → …

    Publication series

    Name
    ISSN (Print)1530-2059

    Conference

    ConferenceIEEE International High-Assurance Systems Engineering Symposium
    Period3/12/08 → …

    Fingerprint

    Dive into the research topics of 'Localizing program errors via slicing and reasoning'. Together they form a unique fingerprint.

    Cite this