Efficient field-sensitive pointer analysis for C

  • Authors:
  • David J. Pearce;Paul H. J. Kelly;Chris Hankin

  • Affiliations:
  • Imperial College, London, UK;Imperial College, London, UK;Imperial College, London, UK

  • Venue:
  • Proceedings of the 5th ACM SIGPLAN-SIGSOFT workshop on Program analysis for software tools and engineering
  • Year:
  • 2004

Quantified Score

Hi-index 0.00

Visualization

Abstract

The subject of this paper is flow- and context-insensitive pointer analysis. We present a novel approach for precisely modelling struct variables and indirect function calls. Our method emphasises efficiency and simplicity and extends the language of set-constraints. We experimentally evaluate the precision cost trade-off using a benchmark suite of 7 common C programs between 5,000 to 150,000 lines of code. Our results indicate the field-sensitive analysis is more expensive to compute, but yields significantly better precision.