II CAAP
CAAP-6: Complexity
On the complexity of function pointer may-alias analysis
Robert Muth1
and Saumya Debray1 
| (1) |
Department of Computer Science, University of Arizona, 85721 Tucson, AZ, USA |
Abstract
This paper considers the complexity of interprocedural function pointer may-alias analysis, i.e., determining the set of functions that a function pointer (in a language such as C) can point to at a point in a program. This information is necessary, for example, in order to construct the control flow graphs of programs that use function pointers, which in turn is fundamental for most dataflow analyses and optimizations. We show that the general problem is complete for deterministic exponential time. We then consider two natural simplifications to the basic (precise) analysis and examine their complexity. The approach described can be used to readily obtain similar complexity results for related analyses such as reachability and recursiveness.
This work was supported in part by NSF grant number CCR-9502826.
References secured to subscribers.