Points-to analysis using BDDs
Author(s) -
Marc Berndl,
Ondřej Lhoták,
Feng Qian,
Laurie Hendren,
Navindra Umanee
Publication year - 2003
Publication title -
proceedings of the acm sigplan conference on programming language design and implementation
Language(s) - English
Resource type - Conference proceedings
ISSN - 1531-7102
ISBN - 1-58113-662-5
DOI - 10.1145/781131.781144
Subject(s) - binary decision diagram , computer science , algorithm , solver , model checking , simple (philosophy) , data structure , satisfiability , theoretical computer science , programming language , philosophy , epistemology
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.
Accelerating Research
Robert Robinson Avenue,
Oxford Science Park, Oxford
OX4 4GP, United Kingdom
Address
John Eccles HouseRobert Robinson Avenue,
Oxford Science Park, Oxford
OX4 4GP, United Kingdom