Slicing objects using system dependence graphs
Donglin Liang, Mary Jean Harrold · International Conference on Software Maintenance · 2002
We present an SDG for object oriented software that is more precise than previous representations and is more efficient to construct than previous approaches. The new SDG distinguishes data members for different objects, provides a way to represent object parameters, represents the effects of polymorphism on parameters and parameter bindings, represents incomplete classes efficiently, and provides a way to represent class libraries. Based on this system dependence graph, we introduce the concept of object slicing and an algorithm to implement this concept. Object slicing enables the user to inspect the statements in the slice, object-by-object, and is helpful for debugging and impact analysis.
Cited by 128 works. doi:10.1109/icsm.1998.738527
Authors
References
- Compilers: Principles, Techniques, and Tools
- The program dependence graph and its use in optimization
- Interprocedural slicing using dependence graphs
- A Survey of Program Slicing Techniques.
- Using program slicing in software maintenance
- Interprocedural modification side effect analysis with pointer aliasing
- Call graph construction in object-oriented languages
- Speeding up slicing
- A new model of program dependences for reverse engineering
- Slicing object-oriented software