An improved slicer for Java

Christian Hammer, Gregor Snelting
2004 Proceedings of the ACM-SIGPLAN-SIGSOFT workshop on Program analysis for software tools and engineering - PASTE '04  
We present an improved slicing algorithm for Java. The best algorithm known so far, first presented in [11] , is not always precise if nested objects are used as actual parameters. The new algorithm presented in this paper always generates correct and precise slices, but is more expensive in general. We describe the algorithms and their treatment of objects as parameters. In particular, we present a new, safe criterion for termination of unfolding nested parameter objects. We then compare the
more » ... then compare the two algorithms by providing measurements for a benchmark of Java and JavaCard programs.
doi:10.1145/996821.996830 dblp:conf/paste/HammerS04 fatcat:yql52v5jbzaobh3a6322q5ygc4