کد مقاله کد نشریه سال انتشار مقاله انگلیسی نسخه تمام متن
432964 1364359 2016 30 صفحه PDF دانلود رایگان
عنوان انگلیسی مقاله ISI
Debugging Maude programs via runtime assertion checking and trace slicing
موضوعات مرتبط
مهندسی و علوم پایه مهندسی کامپیوتر نظریه محاسباتی و ریاضیات
پیش نمایش صفحه اول مقاله
Debugging Maude programs via runtime assertion checking and trace slicing
چکیده انگلیسی


• Assertion checking and slicing integration to diagnose programming errors in RWL.
• Accurate slicing criteria automatically inferred to slice the trace backwards.
• Logical notation for specifying functional assertions and system assertions.
• The ABETS tool provides a powerful Swiss Army knife in program debugging.
• Runtime assertion checking technique for Maude specifications.

In this paper we propose a dynamic analysis methodology for improving the diagnosis of erroneous Maude programs. The key idea is to combine runtime checking and dynamic trace slicing for automatically catching errors at runtime while reducing the size and complexity of the erroneous traces to be analyzed (i.e., those leading to states failing to satisfy some of the assertions). First, we formalize a technique that is aimed at automatically detecting deviations of the program behavior (symptoms) with respect to two types of user-defined assertions: functional assertions and system assertions. The proposed dynamic checking is provably sound in the sense that all errors flagged are definitely violations of the specifications. Then, upon eventual assertion violations we generate accurate trace slices that help identify the cause of the error. Our methodology is based on (i) a logical notation for specifying assertions that are imposed on execution runs; (ii) a runtime checking technique that dynamically tests the assertions; and (iii) a mechanism based on (equational) least general generalization that automatically derives accurate criteria for slicing from falsified assertions. Finally, we report on an implementation of the proposed technique in the assertion-based, dynamic analyzer ABETS and show how the forward and backward tracking of asserted program properties leads to a thorough trace analysis algorithm that can be used for program diagnosis and debugging.

ناشر
Database: Elsevier - ScienceDirect (ساینس دایرکت)
Journal: Journal of Logical and Algebraic Methods in Programming - Volume 85, Issue 5, Part 1, August 2016, Pages 707–736
نویسندگان
, , , ,