Abstract
A dynamic program slice is the part of a program that affects the computation of a variable of interest during program execution on a specific program input. Dynamic slices are usually smaller than static slices and are more useful in interactive applications such as program debugging and testing. The understanding and debugging of multithreaded and distributed programs are much harder compared to those of sequential programs. The nondeterministic nature of multithreaded programs, the lack of global states, unsynchronized interactions among processes, multiple threads of control and a dynamically varying number of processes are some of the reasons for this difficulty.
Different types of dynamic program slices, together with algorithms to compute them have been proposed in the literature. Most of the existing algorithms for finding slices of distributed programs use trace files and are not efficient in terms of time and space complexity. Some existing algorithms use a dependency graph and traverse the graph when the slices are asked for, resulting in high response time. This paper proposes an efficient algorithm for distributed programs. It uses control dependence graph as an intermediate representation and generates the dynamic slices with fast response time.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
Pani, S.K., Arundhati, P., Mohanty, M.: An Effective Methodology for Slicing C++ Programs. International Journal of Computer Engineering and Technology 1, 72–82 (2010)
Mund, G.B., Mall, R.: Program Slicing. In: Compiler Design Handbook: Optimization and Machine Code Generation, pp. 14.1–14.35. CRC Press (2008)
Mall, R., Mund, G.B.: An efficient interprocedural dynamic slicing method. The Journal of Systems and Software 79, 791–806 (2006)
Mohapatra, D.P., Kumar, R., Mall, R., Kumar, D.S., Bhasin, M.: Distributed Dynamic Slicing of Java Programs. The Journal of Systems and Software 79, 1661–1678 (2006)
Mall, R.: Fundamentals of Software Engineering. Prentice – Hall, India (2003)
Mund, G.B., Mall, R., Sarkar, R.S.: Computation of Intraprocedural Dynamic Program Slices. Information and Software Technology 45, 499–512 (2003)
Sarkar, S., Mund, G.B., Mall, R.: An efficient dynamic program slicing technique. Information and Software Technology 44, 123–132 (2002)
Korel, B., Laski, J.: Dynamic Slicing of Computer Programs. Journal of Systems and Software 13, 187–195 (1990)
Weiser, M.: Program Slicing. IEEE Transactions on Software Engineering 10(4), 352–357 (1984)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2013 Springer India
About this paper
Cite this paper
Pani, S., Satapathy, S.M., Mund, G.B. (2013). Slicing of Programs Dynamically under Distributed Environment. In: Kumar M., A., R., S., Kumar, T. (eds) Proceedings of International Conference on Advances in Computing. Advances in Intelligent Systems and Computing, vol 174. Springer, New Delhi. https://doi.org/10.1007/978-81-322-0740-5_71
Download citation
DOI: https://doi.org/10.1007/978-81-322-0740-5_71
Publisher Name: Springer, New Delhi
Print ISBN: 978-81-322-0739-9
Online ISBN: 978-81-322-0740-5
eBook Packages: EngineeringEngineering (R0)