Abstract
Recently, pushdown systems (PDSs) have been extended to weighted PDSs, in which each transition is labeled with a value, and the goal is to determine the meet-over-all-paths value (for paths that meet a certain criterion). This paper shows how weighted PDSs yield new algorithms for certain classes of interprocedural dataflow-analysis problems.
Supported by ONR contract N00014-01-1-0708.
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
A.V. Aho, R. Sethi, and J.D. Ullman. Compilers: Principles, Techniques and Tools. Addison-Wesley, 1985.
F. Bancilhon, D. Maier, Y. Sagiv, and J. Ullman. Magic sets and other strange ways to implement logic programs. In Proceedings of the Fifth ACM Symposium on Principles of Database Systems, New York, NY, 1986. ACM Press.
A. Bouajjani, J. Esparza, and O. Maler. Reachability analysis of pushdown automata: Application to model checking. In Proc. CONCUR, volume 1243 of Lec. Notes in Comp. Sci., pages 135–150. Springer-Verlag, 1997.
A. Bouajjani, J. Esparza, and T. Touili. A generic approach to the static analysis of concurrent programs with procedures. In Proc. Symp. on Princ. of Prog. Lang., pages 62–73, 2003.
H. Chen and D. Wagner. MOPS: An infrastructure for examining security properties of software. In Conf. on Comp. and Commun. Sec., November 2002.
P. Cousot and R. Cousot. Temporal abstract interpretation. In Symp. on Princ. of Prog. Lang., pages 12–25, 2000.
E. Duesterwald, R. Gupta, and M.L. Soffa. Demand-driven computation of interprocedural data flow. In Symp. on Princ. of Prog. Lang., pages 37–48, New York, NY, 1995. ACM Press.
J. Esparza, D. Hansel, P. Rossmanith, and S. Schwoon. Efficient algorithms for model checking pushdown systems. In Proc. Computer-Aided Verif., volume 1855 of Lec. Notes in Comp. Sci., pages 232–247, July 2000.
J. Esparza and J. Knoop. An automata-theoretic approach to interprocedural data-flow analysis. In Proceedings of FoSSaCS’99, volume 1578 of LNCS, pages 14–30. Springer, 1999.
J. Esparza, A. Kučera, and S. Schwoon. Model-checking LTL with regular valuations for pushdown systems. In Proceedings of TACAS’01, volume 2031 of LNCS, pages 306–339. Springer, 2001.
S. Horwitz, T. Reps, and M. Sagiv. Demand interprocedural dataflow analysis. In Proceedings of the Third ACM SIGSOFT Symposium on the Foundations of Software Engineering, pages 104–115, New York, NY, October 1995. ACM Press.
T. Jensen, D. Le Metayer, and T. Thorn. Verification of control flow based security properties. In 1999 IEEE Symposium on Security and Privacy, May 1999.
S. Jha and T. Reps. Analysis of SPKI/SDSI certificates using model checking. In IEEE Comp. Sec. Found. Workshop (CSFW). IEEE Computer Society Press, 2002.
J. Knoop and B. Steffen. The interprocedural coincidence theorem. In Int. Conf. on Comp. Construct., pages 125–140, 1992.
U. Moencke and R. Wilhelm. Grammar flow analysis. In H. Alblas and B. Melichar, editors, Attribute Grammars, Applications and Systems, volume 545 of Lec. Notes in Comp. Sci., pages 151–186, Prague, Czechoslovakia, June 1991. Springer-Verlag.
M. Müller-Olm and H. Seidl. Computing interprocedurally valid relations in affine programs. Tech. rep., Comp. Sci. Dept., Univ. of Trier, Trier, Ger., January 2003.
G. Ramalingam. Bounded Incremental Computation, volume 1089 of Lec. Notes in Comp. Sci. Springer-Verlag, 1996.
T. Reps. Demand interprocedural program analysis using logic databases. In R. Ramakrishnan, editor, Applications of Logic Databases. Kluwer Academic Publishers, 1994.
T. Reps. Solving demand versions of interprocedural analysis problems. In P. Fritzson, editor, Proceedings of the Fifth International Conference on Compiler Construction, volume 786 of Lec. Notes in Comp. Sci., pages 389–403, Edinburgh, Scotland, April 1994. Springer-Verlag.
T. Reps, S. Horwitz, and M. Sagiv. Precise interprocedural dataflow analysis via graph reachability. In Symp. on Princ. of Prog. Lang., pages 49–61, New York, NY, 1995. ACM Press.
T. Reps, M. Sagiv, and S. Horwitz. Interprocedural dataflow analysis via graph reachability. Tech. Rep. TR 94-14, Datalogisk Institut, Univ. of Copenhagen, 1994. Available at http://www.cs.wisc.edu/wpis/papers/diku-tr94-14.ps.
M. Sagiv, T. Reps, and S. Horwitz. Precise interprocedural dataflow analysis with applications to constant propagation. Theor. Comp. Sci., 167:131–170, 1996.
D. Schmidt. Data-flowa nalysis is model checking of abstract interpretations. In Symp. on Princ. of Prog. Lang., pages 38–48, New York, NY, January 1998. ACM Press.
S. Schwoon. WPDS — a library for Weighted Pushdown Systems, 2003. Available from http://www7.in.tum.de/~schwoon/moped/#wpds.
S. Schwoon, S. Jha, T. Reps, and S. Stubblebine. On generalized authorization problems. In Comp. Sec. Found. Workshop, Wash., DC, 2003. IEEE Comp. Soc.
M. Sharir and A. Pnueli. Two approaches to interprocedural data flow analysis. In S.S. Muchnick and N.D. Jones, editors, Program Flow Analysis: Theory and Applications, chapter 7, pages 189–234. Prentice-Hall, Englewood Cliffs, NJ, 1981.
B. Steffen. Data flow analysis as model checking. In Int. Conf. on Theor. Aspects of Comp. Softw., volume 526 of Lec. Notes in Comp. Sci., pages 346–365. Springer-Verlag, 1991.
B. Steffen. Generating data flow analysis algorithms from modal specifications. Sci. of Comp. Prog., 21(2):115–139, 1993.
D.S. Warren. Memoing for logic programs. Communications of the ACM, 35(3):93–111, March 1992.
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2003 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Reps, T., Schwoon, S., Jha, S. (2003). Weighted Pushdown Systems and Their Application to Interprocedural Dataflow Analysis. In: Cousot, R. (eds) Static Analysis. SAS 2003. Lecture Notes in Computer Science, vol 2694. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-44898-5_11
Download citation
DOI: https://doi.org/10.1007/3-540-44898-5_11
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-40325-8
Online ISBN: 978-3-540-44898-3
eBook Packages: Springer Book Archive