DocumentCode :
175554
Title :
Pruning, Pushdown Exception-Flow Analysis
Author :
Shuying Liang ; Weibin Sun ; Might, Matthew ; Keep, Andrew ; Van Horn, David
fYear :
2014
fDate :
28-29 Sept. 2014
Firstpage :
265
Lastpage :
274
Abstract :
Statically reasoning in the presence of exceptions and about the effects of exceptions is challenging: exception-flows are mutually determined by traditional control-flow and points-to analyses. We tackle the challenge of analyzing exception-flows from two angles. First, from the angle of pruning control-flows (both normal and exceptional), we derive a pushdown framework for an object-oriented language with full-featured exceptions. Unlike traditional analyses, it allows precise matching of throwers to catchers. Second, from the angle of pruning points-to information, we generalize abstract garbage collection to object-oriented programs and enhance it with liveness analysis. We then seamlessly weave the techniques into enhanced reach ability computation, yielding highly precise exception-flow analysis, without becoming intractable, even for large applications. We evaluate our pruned, pushdown exception-flow analysis, comparing it with an established analysis on large scale standard Java benchmarks. The results show that our analysis significantly improves analysis precision over traditional analysis within a reasonable analysis time.
Keywords :
Java; data flow analysis; object-oriented languages; object-oriented programming; parallel languages; reachability analysis; storage management; abstract garbage collection; control-flow analysis; full-featured exceptions; large scale standard Java benchmarks; liveness analysis; object-oriented language; object-oriented programs; points-to analysis; pruning; pushdown exception-flow analysis; reachability computation enhancement; static reasoning; Abstracts; Algorithm design and analysis; Concrete; Context; Java; Resource management; Semantics; Static analysis; abstract garbage collection; exception-flow analysis; pushdown analysis;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Source Code Analysis and Manipulation (SCAM), 2014 IEEE 14th International Working Conference on
Conference_Location :
Victoria, BC
Type :
conf
DOI :
10.1109/SCAM.2014.44
Filename :
6975660
Link To Document :
بازگشت