DocumentCode
2140309
Title
Computation of Alias Sets from Shape Graphs for Comparison of Shape Analysis Precision
Author
Pavlu, Victor ; Schordan, Markus ; Krall, A.
Author_Institution
Inst. of Comput. Languages, Vienna Univ. of Technol., Vienna, Austria
fYear
2011
fDate
25-26 Sept. 2011
Firstpage
25
Lastpage
34
Abstract
Various shape analysis algorithms have been introduced but their relation in terms of precision often remains unclear as different analyses use different representations of analysis results. The aim of our work is to extract alias sets from shape analysis results to compute a relative precision factor that expresses for a given program how much more precise one analysis is than the other. We present a significant improvement over an existing algorithm based on 3-valued logic to compute alias sets from shape graphs. Instead of looking only at the final nodes in pointer access paths, our common tail algorithm takes sequences of selectors into account. The common tail algorithm is strictly more precise than the existing algorithm by Reps, Sagiv, and Wilhelm, for our benchmarks we can reduce the number of conservative results by a factor of up to 5 in the best case while incurring an additional analysis overhead that is below 10% even in the worst case of our benchmarks. We selected two well-known graph-based shape analyses that use different representations of analysis results to demonstrate the usefulness of our approach. The shape analysis proposed by Nielson, Nielson & Hankin (NNH) and the analysis by Sagiv, Reps & Wilhelm (SRW) were implemented for a subset of C++ in the SATIrE program analysis framework. We are thus able to determine that NNH is more precise than SRW by a factor of 1.62 on average for our set of benchmarks.
Keywords
antialiasing; graph theory; multivalued logic; program diagnostics; 3-valued logic; C++ subset; SATIrE program analysis framework; alias set computation; common tail algorithm; pointer access paths; pointer aliasing; shape analysis algorithms; shape graphs; alias set; pointer aliasing; pointer analysis; precision; shape analysis; shape graph;
fLanguage
English
Publisher
ieee
Conference_Titel
Source Code Analysis and Manipulation (SCAM), 2011 11th IEEE International Working Conference on
Conference_Location
Williamsburg, VI
Print_ISBN
978-1-4577-0932-6
Type
conf
DOI
10.1109/SCAM.2011.11
Filename
6065194
Link To Document