Precise interprocedural analysis through linear algebra
Authors:
Open Access
- 1 January 2004
- conference paper
- Published by Association for Computing Machinery (ACM)
- Vol. 39 (1) , 330-341
Abstract
We apply linear algebra techniques to precise interprocedural dataflow analysis. Specifically, we describe analyses that determine for each program point identities that are valid among the program variables whenever control reaches that program point. Our analyses fully interpret assignment statements with affine expressions on the right hand side while considering other assignments as non-deterministic and ignoring conditions at branches. Under this abstraction, the analysis computes the set of all precisely. The running time of our algorithms is linear in the program size and polynomial in the number of occurring variables. We also show how to deal with affine preconditions and local variables and indicate how to handle parameters and return values of procedures.Keywords
This publication has 10 references indexed in Scilit:
- Discovering affine equalities using random interpretation2003
- Constructive design of a hierarchy of semantics of a transition system by abstract interpretationTheoretical Computer Science, 2002
- Precise interprocedural dataflow analysis with applications to constant propagationTheoretical Computer Science, 1996
- Precise interprocedural dataflow analysis via graph reachability1995
- A generalization of the differential approach to recursive query evaluationThe Journal of Logic Programming, 1987
- Countable nondeterminism and random assignmentJournal of the ACM, 1986
- Finite Differencing of Computable ExpressionsACM Transactions on Programming Languages and Systems, 1982
- Automatic discovery of linear restraints among variables of a program1978
- Static determination of dynamic properties of generalized type unions1977
- Affine relationships among variables of a programActa Informatica, 1976