Share on Facebook Tweet on Twitter Share on LinkedIn Share by email
Polymorphic versus Monomorphic Flow-insensitive Points-to Analysis for C

Jeffrey S. Foster, Manuel Fähndrich, and Alexander Aiken


We carry out an experimental analysis for two of the design dimensions of flow-insensitive points-to analysis for C: polymorphic versus monomorphic and equality-based versus inclusion-based. Holding other analysis parameters fixed, we measure the precision of the four design points on a suite of benchmarks of up to 90,000 abstract syntax tree nodes. Our experiments show that the benefit of polymorphism varies significantly with the underlying monomorphic analysis. For our equalitybased analysis, adding polymorphism greatly increases precision, while for our inclusion-based analysis, adding polymorphism hardly makes any difference. We also gain some insight into the nature of polymorphism in points-to analysis of C. In particular, we find considerable polymorphism available in function parameters, but little or no polymorphism in function results, and we show how this observation explains our results.


Publication typeInproceedings
Published inProceedings of the 7th International Static Analysis Symposium
> Publications > Polymorphic versus Monomorphic Flow-insensitive Points-to Analysis for C