Logo del repository
  1. Home
 
Opzioni

Debugging Maude programs via runtime assertion checking and trace slicing

Alpuente, María
•
BALLIS, Demis
•
Frechina, Francisco
•
Sapiña, Julia
2016
  • journal article

Periodico
THE JOURNAL OF LOGICAL AND ALGEBRAIC METHODS IN PROGRAMMING
Abstract
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.
DOI
10.1016/j.jlamp.2016.03.001
WOS
WOS:000382347700004
Archivio
http://hdl.handle.net/11390/1105162
info:eu-repo/semantics/altIdentifier/scopus/2-s2.0-84994777423
http://www.sciencedirect.com/science/article/pii/S2352220816300177
Diritti
closed access
Soggetti
  • Rewriting logic, debu...

Scopus© citazioni
6
Data di acquisizione
Jun 7, 2022
Vedi dettagli
Web of Science© citazioni
9
Data di acquisizione
Mar 25, 2024
google-scholar
Get Involved!
  • Source Code
  • Documentation
  • Slack Channel
Make it your own

DSpace-CRIS can be extensively configured to meet your needs. Decide which information need to be collected and available with fine-grained security. Start updating the theme to match your nstitution's web identity.

Need professional help?

The original creators of DSpace-CRIS at 4Science can take your project to the next level, get in touch!

Realizzato con Software DSpace-CRIS - Estensione mantenuta e ottimizzata da 4Science

  • Impostazioni dei cookie
  • Informativa sulla privacy
  • Accordo con l'utente finale
  • Invia il tuo Feedback