The notion of control dependence underlies many program analysis and transformation techniques. Despite wide applications, existing definitions and approaches for calculating control dependence are difficult to apply seamlessly to modern program structures. Such program structures make substantial use of exception processing and increasingly support reactive systems designed to run indefinitely. This paper revisits foundational issues surrounding control dependence and slicing. It develops definitions and algorithms for computing control dependence that can be directly applied to modern program structures. A variety of properties show that the new definitions conservatively extend classic definitions. In the context of slicing reactive systems, the paper proposes a notion of slicing correctness based on weak bisimulation and proves that the definition of control dependence generates slices that conform to this notion of correctness. The new definitions and algorithms for control dependence form the basis of a publicly available program slicer that has been implemented for full Java. © Springer-Verlag Berlin Heidelberg 2005.
CITATION STYLE
Ranganath, V. P., Amtoft, T., Banerjee, A., Dwyer, M. B., & Hatcliff, J. (2005). A new foundation for control-dependence and slicing for modern program structures. In Lecture Notes in Computer Science (Vol. 3444, pp. 77–93). Springer Verlag. https://doi.org/10.1007/978-3-540-31987-0_7
Mendeley helps you to discover research relevant for your work.