Skip to main content
Log in

Program slicing: Its improved algorithm and application in verification

  • Regular Papers
  • Published:
Journal of Computer Science and Technology Aims and scope Submit manuscript

Abstract

Program slicing is a method for automatical program decomposition. This paper presents an improved slicing algorithm on the basis of static analysis of the control structure of loop statements. The slice obtained by the new algorithm is guaranteed to be no larger than that obtained by the previous slicing algorithm developed by Mark Weiser. Moreover, the former will be much smaller than the latter for certain kinds of programs. In addition, a brief discussion of using slicing in program verification has been given for the sake of extending the application area of program slicing.

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

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Similar content being viewed by others

References

  1. M. Weiser, Program slicing,IEEE Transaction on Software Engineering, Se-10:4 (1984).

    Article  Google Scholar 

  2. M. Weiser, Program slicing, Proc. Fifth Int. Conf. on Software Eng., San Diago, CA., Mar. 1981.

  3. M. Weiser, Programmers use slices when debugging,CACM,25:7 (1982).

    Google Scholar 

  4. A. V. Aho, and J. D. Ullman, Principle of Compiler Design, Addison-Wesley, 1977.

  5. S. Muchnick, and N. J. Jones, Program Flow Analysis: Theory and Application. Prentice-Hall, Inc., Englewood Cliffs, New Jersy, 1984.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

About this article

Cite this article

Lu, Q., Zhang, F. & Qian, J. Program slicing: Its improved algorithm and application in verification. J. of Comput. Sci. & Technol. 3, 29–39 (1988). https://doi.org/10.1007/BF02943330

Download citation

  • Received:

  • Revised:

  • Issue Date:

  • DOI: https://doi.org/10.1007/BF02943330

Keywords

Navigation