1999 · 132 citations · 29 references
ComputingComputer ScienceCompilersComputer ArchitectureProgramming LanguagesConcurrency AnalysisConcurrent ProgrammingControl-flow AnalysisData-flow AnalysisContext-sensitive AnalysisNested Data StructuresPointer AnalysisPointer ArithmeticPointer SharingPrecisionRecursive FunctionsShared-memory Algorithms
This paper presents a novel interprocedural, flow-sensitive, and context-sensitive pointer analysis algorithm for multithreaded programs that may concurrently update shared pointers. For each pointer and each program point, the algorithm computes a conservative approximation of the memory locations to which that pointer may point. The algorithm correctly handles a full range of constructs in multithreaded programs, including recursive functions, function pointers, structures, arrays, nested structures and arrays, pointer arithmetic, casts between pointer variables of different types, heap and stack allocated memory, shared global variables, and thread-private global variables. We have implemented the algorithm in the SUIF compiler system and used the implementation to analyze a sizable set of multithreaded programs written in the Cilk multithreaded programming language. Our experimental results show that the analysis has good precision and converges quickly for our set of Cilk programs. 1
29
Stefan Savage, Michael T. Burrows, Greg Nelson et al. · ACM Transactions on Computer Systems · 1997 · 1.6K citations · Full text
Points-to analysis in almost linear time
Bjarne Steensgaard · 1996 · 1.1K citations · Full text
Efficient context-sensitive pointer analysis for C programs
Robert P. Wilson, Monica S. Lam · ACM SIGPLAN Notices · 1995 · 538 citations