ABSTRACT
We present DynaSens, a demand-driven approach to points-to analysis that uses slicing to automatically adjust the analysis' context-sensitivity. Within a points-to analysis, heap-carried data flows are composed of loads and stores, and these heap-carried dependences are difficult to resolve. Having observed the limitations of existing techniques, we propose a slicing analysis based on a demand-driven approach to resolve such dependences. Given a points-to query, a collection of relevant program elements is identified by the slicing analysis and handled context-sensitively by the points-to analysis. We compare the precision and cost of our points-to analysis against two state-of-the-art uniformly context-sensitive analyses that achieve the best trade between cost and precision to date. Evaluation results shows the points-to analysis refined by the slicing analysis achieves higher precision in most tests than the uniformly context-sensitive analyses, which are many times more costly.
References
- Y. Smaragdakis, G. Kastrinis, and G. Balatsouras, "Introspective analysis: Context-sensitivity, across the board," ser. PLDI '14. Google Scholar
Digital Library
- P. Liang and M. Naik, "Scaling abstraction refinement via pruning," ser. PLDI '11. Google Scholar
Digital Library
- O. Shivers, "Control flow analysis in scheme," ser. PLDI '88. Google Scholar
Digital Library
- M. Sridharan and R. Bodík, "Refinement-based context-sensitive points-to analysis for java," ser. PLDI '06. Google Scholar
Digital Library
- E. M. Nystrom, H.-S. Kim, and W.-m. W. Hwu, "Bottom-up and top-down context-sensitive summary-based pointer analysis," R. Giacobazzi, Ed.Google Scholar
- S. Arzt, S. Rasthofer, C. Fritz, E. Bodden, A. Bartel, J. Klein, Y. Le Traon, D. Octeau, and P. McDaniel, "Flowdroid: Precise context, flow, field, object-sensitive and lifecycle-aware taint analysis for android apps," ser. PLDI '14. Google Scholar
Digital Library
- J. M. Lucassen and D. K. Gifford, "Polymorphic effect systems," ser. POPL '88. Google Scholar
Digital Library
- T. W. Reps, "Solving demand versions of interprocedural analysis problems," ser. CC '94. Google Scholar
Digital Library
- Y. Smaragdakis, M. Bravenboer, and O. Lhoták, "Pick your contexts well: Understanding object-sensitivity," ser. POPL '11. Google Scholar
Digital Library
- S. M. Blackburn, R. Garner, C. Hoffman, A. M. Khan, K. S. McKinley, R. Bentzur, A. Diwan, D. Feinberg, D. Frampton, S. Z. Guyer, M. Hirzel, A. Hosking, M. Jump, H. Lee, J. E. B. Moss, A. Phansalkar, D. Stefanović, T. VanDrunen, D. von Dincklage, and B. Wiedermann, "The DaCapo benchmarks: Java benchmarking development and analysis."Google Scholar
- A. Milanova, A. Rountev, and B. G. Ryder, "Parameterized object sensitivity for points-to analysis for java," ACM Trans. Softw. Eng. Methodol., vol. 14, no. 1, Jan. 2005. Google Scholar
Digital Library





Comments