Points-to analysis using BDDs
Marc Berndl, Ondřej Lhoták, Feng Qian et al. · ACM SIGPLAN Notices · 2003
This paper reports on a new approach to solving a subset-based points-to analysis for Java using Binary Decision Diagrams (BDDs). In the model checking community, BDDs have been shown very effective for representing large sets and solving very large verification problems. Our work shows that BDDs can also be very effective for developing a points-to analysis that is simple to implement and that scales well, in both space and time, to large programs.The paper first introduces BDDs and operations on BDDs using some simple points-to examples. Then, a complete subset-based points-to algorithm is presented, expressed completely using BDDs and BDD operations. This algorithm is then refined by finding appropriate variable orderings and by making the algorithm propagate sets incrementally, in order to arrive at a very efficient algorithm. Experimental results are given to justify the choice of variable ordering, to demonstrate the improvement due to incrementalization, and to compare the performance of the BDD-based solver to an efficient hand-coded graph-based solver. Finally, based on the results of the BDD-based solver, a variety of BDD-based queries are presented, including the points-to query.
Cited by 185 works. doi:10.1145/780822.781144
Authors
References
- Graph-Based Algorithms for Boolean Function Manipulation
- Symbolic Boolean manipulation with ordered binary-decision diagrams
- Points-to analysis in almost linear time
- Context-sensitive interprocedural points-to analysis in the presence of function pointers
- Optimization of Object-Oriented Programs Using Static Class Hierarchy Analysis
- Symbolic model checking for sequential circuit verification
- Unification-based pointer analysis with directional assignments
- Fast and accurate flow-insensitive points-to analysis
- Pointer analysis
- Scaling Java Points-to Analysis Using Spark