A safe approximate algorithm for interprocedural aliasing
Authors:
- William LandiWLWilliam Landi
- Barbara G. RyderBRBarbara G. Ryder
Open Access
- 1 July 1992
- journal article
- Published by Association for Computing Machinery (ACM) in ACM SIGPLAN Notices
- Vol. 27 (7) , 235-248
Abstract
During execution, when two or more names exist for the same location at some program point, we call them aliases . In a language which allows arbitrary pointers, the problem of determining aliases at a program point is ρ-space-hard [Lan92]. We present an algorithm for the Conditional May Alias problem, which can be used to safely approximate Interprocedural May Alias in the presence of pointers. This algorithm is as precise as possible in the worst case and has been implemented in a prototype analysis tool for C programs. Preliminary speed and precision results are presented.Keywords
This publication has 17 references indexed in Scilit:
- Analysis of pointers and structuresACM SIGPLAN Notices, 1990
- On determining lifetime and aliasing of dynamically allocated data in higher-order functional specifications1990
- Dependence analysis for pointer variables1989
- Fast interprocedual alias analysis1989
- The program summary graph and flow-sensitive interprocedual data flow analysis1988
- Retargetable high-level alias analysis1986
- Analyzing aliases of reference formal parameters1985
- The design of a data flow analyzer1982
- An efficient way to find the side effects of procedure calls and the aliases of variables1979
- A practical interprocedural data flow analysis algorithmCommunications of the ACM, 1978