Skip to main content

Slicing of Programs Dynamically under Distributed Environment

  • Conference paper
Proceedings of International Conference on Advances in Computing

Part of the book series: Advances in Intelligent Systems and Computing ((AISC,volume 174))

  • 1423 Accesses

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 259.00
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 329.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. 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)

    Google Scholar 

  2. Mund, G.B., Mall, R.: Program Slicing. In: Compiler Design Handbook: Optimization and Machine Code Generation, pp. 14.1–14.35. CRC Press (2008)

    Google Scholar 

  3. Mall, R., Mund, G.B.: An efficient interprocedural dynamic slicing method. The Journal of Systems and Software 79, 791–806 (2006)

    Article  Google Scholar 

  4. 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)

    Article  Google Scholar 

  5. Mall, R.: Fundamentals of Software Engineering. Prentice – Hall, India (2003)

    Google Scholar 

  6. Mund, G.B., Mall, R., Sarkar, R.S.: Computation of Intraprocedural Dynamic Program Slices. Information and Software Technology 45, 499–512 (2003)

    Article  Google Scholar 

  7. Sarkar, S., Mund, G.B., Mall, R.: An efficient dynamic program slicing technique. Information and Software Technology 44, 123–132 (2002)

    Article  Google Scholar 

  8. Korel, B., Laski, J.: Dynamic Slicing of Computer Programs. Journal of Systems and Software 13, 187–195 (1990)

    Article  Google Scholar 

  9. Weiser, M.: Program Slicing. IEEE Transactions on Software Engineering 10(4), 352–357 (1984)

    Article  MATH  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Santosh Pani .

Editor information

Editors and Affiliations

Rights and permissions

Reprints 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)

Publish with us

Policies and ethics