Galindo, Carlos;
Krinke, Jens;
Pérez, Sergio;
Silva, Josep;
(2024)
Field-sensitive program slicing.
Journal of Systems and Software
, 210
, Article 111939. 10.1016/j.jss.2023.111939.
Text
paper.pdf - Accepted Version Access restricted to UCL open access staff until 30 January 2025. Download (1MB) |
Abstract
The granularity level of the traditional program dependence graph (PDG) for composite data structures (tuples, lists, records, objects, etc.) is inaccurate when slicing their inner elements. We present the constrained-edges PDG (CE-PDG) that addresses this accuracy problem. The CE-PDG enhances the representation of composite data structures by decomposing statements into a subgraph that represents the inner elements of the structure, and the inclusion and propagation of data constraints along the CE-PDG edges allow for accurate slicing of complex data structures. Both extensions are conservative with respect to the traditional PDG, in the sense that all slicing criteria (and more) that can be specified in the PDG can be also specified in the CE-PDG, and the slices produced with the CE-PDG are always smaller or equal to the slices produced by the PDG. An evaluation of our approach shows a reduction in the size of the slices of around 10%.
Type: | Article |
---|---|
Title: | Field-sensitive program slicing |
DOI: | 10.1016/j.jss.2023.111939 |
Publisher version: | http://dx.doi.org/10.1016/j.jss.2023.111939 |
Language: | English |
Additional information: | This version is the author accepted manuscript. For information on re-use, please refer to the publisher’s terms and conditions. |
Keywords: | Program Analysis, Program Slicing, Composite Data Structures |
UCL classification: | UCL UCL > Provost and Vice Provost Offices > UCL BEAMS UCL > Provost and Vice Provost Offices > UCL BEAMS > Faculty of Engineering Science UCL > Provost and Vice Provost Offices > UCL BEAMS > Faculty of Engineering Science > Dept of Computer Science |
URI: | https://discovery.ucl.ac.uk/id/eprint/10185774 |
Archive Staff Only
View Item |