A safe approximate algorithm for interprocedural pointer aliasing

  • Authors:
  • William Landi;Barbara G. Ryder

  • Affiliations:
  • Siemens Corporate Research, Princeton, NJ;Rutgers University, Piscataway, NJ

  • Venue:
  • ACM SIGPLAN Notices - Best of PLDI 1979-1999
  • Year:
  • 2004

Quantified Score

Hi-index 0.01

Visualization

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 P-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.