Abstract
This paper proposes an efficient technique for con-extsensitive pointer analysis that is applicable to real C programs. For efficiency, we summarize the effects of procedures using partial tran$er func(ions. A partial transfer function (PTF) describes the behavior of a procedure assuming that certain alias relationships hold when it is called. We cart reuse aPTF in many calling contexts as long as the aliases among the inputs to the procedure are the same. Our empirical results demonstrate that this technique is successful-a single PTF per procedure is usually sufficient to obtain completely context-sensitive results. Because many C programs use features such as type casts and pointer arithmetic to circumvent the high-level type system, our algorithm is based on a low-level representation of memory locations that safely handles all the features of C. We have implemented our algorithm in the SUIF compiler system and efficiently for a set of C benchmarks.
Cite
CITATION STYLE
Wilson, R. P., & Lam, M. S. (1995). Efficient context-sensitive pointer analysis for c programs. In Proceedings of the ACM SIGPLAN Conference on Programming Language Design and Implementation (PLDI) (Vol. Part F129371, pp. 1–12). Association for Computing Machinery. https://doi.org/10.1145/207110.207111
Register to see more suggestions
Mendeley helps you to discover research relevant for your work.