Title :
ORBS and the limits of static slicing
Author :
David Binkley;Nicolas Gold;Mark Harman;Syed Islam;Jens Krinke;Shin Yoo
Author_Institution :
Loyola University Maryland, 4501 N. Charles St., Baltimore, MD 21210-2699, USA
Abstract :
Observation-based slicing is a recently-introduced, language-independent slicing technique based on the dependencies observable from program behaviour. Due to the well-known limits of dynamic analysis, we may only compute an under-approximation of the true observation-based slice. However, because the observation-based slice captures all possible dependence that can be observed, even such approximations can yield insight into the limitations of static slicing. For example, a static slice, S, that is strictly smaller than the corresponding observation based slice is potentially unsafe. We present the results of three sets of experiments on 12 different programs, including benchmarks and larger programs, which investigate the relationship between static and observation-based slicing. We show that, in extreme cases, observation-based slices can find the true minimal static slice, where static techniques cannot. For more typical cases, our results illustrate the potential for observation-based slicing to highlight limitations in static slicers. Finally, we report on the sensitivity of observation-based slicing to test quality.
Keywords :
"Trajectory","Approximation methods","Benchmark testing","Algorithm design and analysis","Heuristic algorithms","Performance analysis","Semantics"
Conference_Titel :
Source Code Analysis and Manipulation (SCAM), 2015 IEEE 15th International Working Conference on
DOI :
10.1109/SCAM.2015.7335396