Optimize context-sensitive Andersen-style points-to analysis by method summarization and cycle-elimination

  • Authors:
  • Li Qian;Zhao Jianhua;Li Xuandong

  • Affiliations:
  • The State Key Laboratory, Novel Software Technology of China and Department of Computer Science and Technology, Nanjing University, Nanjing, P.R. China;The State Key Laboratory, Novel Software Technology of China and Department of Computer Science and Technology, Nanjing University, Nanjing, P.R. China;The State Key Laboratory, Novel Software Technology of China and Department of Computer Science and Technology, Nanjing University, Nanjing, P.R. China

  • Venue:
  • ISoLA'10 Proceedings of the 4th international conference on Leveraging applications of formal methods, verification, and validation - Volume Part I
  • Year:
  • 2010

Quantified Score

Hi-index 0.00

Visualization

Abstract

This paper presents an efficient context-sensitive, field-based Andersen-style points-to analysis algorithm for Java programs. This algorithm first summarizes methods of the program under analysis using directed graphs. Then it performs local circle elimination on these summary graphs to reduce their sizes. The main analysis algorithm uses these graphs to construct the main points-to graph. Topological sort and cycle-elimination is performed on the nodes of both main points-to graphs and summary graphs to speed up the transitive closure computation on the main points-to graph. A suite of Java program benchmarks are used to demonstrate the efficiency of our algorithm.