Copyright © 1998 Published by Elsevier Science Inc.
Application of the pointer state subgraph to static program slicing*1
Available online 18 June 1998.
References and further reading may be available for this article. To view references and further reading you must purchase this article.
Abstract
A new technique for performing static analysis of programs that contain unconstrained pointers is presented. The technique is based on the pointer state subgraph: a reduced control flow graph that takes advantage of the fact that in any program there exists a smaller program that computes only the values of pointer variables. The pointer state subgraph is useful in building static analysis tools. As an example, the application of the pointer state subgraph to program slicing is considered. Finally, some experimental results, obtained using the ANSI-C slicer Unravel, are reported. These results show a clear reduction in the time taken to compute data-flow information from programs that contain pointers. They also show a substantial reduction in the space needed to store this information.







E-mail Article
Add to my Quick Links

Cited By in Scopus (5)






