Fault Detection in C Programs using Monitoring of Range Values: Preliminary Results
Pedro Pinto, Rui Abreu, Jo\~ao M. P. Cardoso

TL;DR
This paper introduces a fault detection method for C programs that monitors variable range values during runtime, using a source-to-source compiler and aspect-oriented strategies, with preliminary results showing promising accuracy.
Contribution
It develops a novel approach combining source-to-source compilation and AOP for runtime fault detection in C programs based on variable range monitoring.
Findings
Achieved 54% prediction accuracy on ABS
Achieved 83% prediction accuracy on GZIP
Potential but limited by array and control variable handling
Abstract
This technical report presents the work done as part of the AutoSeer project. Our work in this project was to develop a source-to-source compiler, MANET, for the C language that could be used for instrumentation of critical parts of applications under testing. The intention was to guide the compilation flow and define instrumentation strategies using the Aspect-Oriented Approach provided by LARA. This allows a separation of the original target application and the instrumentation secondary concerns. One of the goals of this work was the development of a source-to-source C compiler that modifies code according to an input strategy. These modifications could provide code transformations that target performance and instrumentation for debugging, but in this work they are used to inject code that collects information about the values that certain variables take during runtime. This…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSoftware Testing and Debugging Techniques · Software Reliability and Analysis Research · Software Engineering Research
