Program slicing is an important operation that can be used as the basis for programming tools that help programmers understand, debug, maintain, and test their code. This paper extends previous work on program slicing by providing a new definition of “correct” slices, by introducing a representation for C-style switch statements, and by defining a new way to compute control dependences and to slice a programdependence graph so as to compute more precise slices of programs that include jumps and switches. Experimental results show that the new approach to slicing can sometimes lead to a significant improvement in slice precision.
CITATION STYLE
Kumar, S., & Horwitz, S. (2002). Better slicing of programs with jumps and switches. In Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) (Vol. 2306, pp. 96–112). Springer Verlag. https://doi.org/10.1007/3-540-45923-5_7
Mendeley helps you to discover research relevant for your work.