Title :
Online cycle detection and difference propagation for pointer analysis
Author :
Pearce, David J. ; Kelly, Paul H J ; Hankin, Chris
Author_Institution :
Dept. of Comput., Imperial Coll., London, UK
Abstract :
We present and evaluate a number of techniques to improve the execution time of interprocedural pointer analysis in the context of large C programs. The analysis is formulated as a graph of set constraints and solved using a worklist algorithm. Indirections lead to new constraints being added during this process. We present a new algorithm for online cycle detection, and a difference propagation technique which records changes in a variable´s solution. The effectiveness of these and other methods are evaluated experimentally using nine common ´C´ programs ranging between 1000 to 55000 lines of code.
Keywords :
C language; data flow graphs; program control structures; program diagnostics; C program; difference propagation technique; interprocedural pointer analysis; online cycle detection; set constraints; worklist algorithm; Algorithm design and analysis; Change detection algorithms; Conferences; Educational institutions; Runtime;
Conference_Titel :
Source Code Analysis and Manipulation, 2003. Proceedings. Third IEEE International Workshop on
Print_ISBN :
0-7695-2005-7
DOI :
10.1109/SCAM.2003.1238026