Case Western Reserve University School of Graduate Studies
Discovering Neglected Conditions in Software by Mining Program Dependence Graphs
Abstract
dc:descriptionNeglected conditions are an important but difficult-to-find class of software defects. This thesis presents an intraprocedural approach and an interprocedural approach to revealing neglected conditions that integrate static program analysis and advanced data mining techniques to discover implicit conditional rules in a code base and rule violations that indicate neglected conditions. The approaches require the user to indicate minimal constraints on the context of the rules to be sought, rather than specific rule templates. In order to permit this generality, rules are modeled as graph minors of enhanced procedure dependence graphs (EPDGs), in which control and data dependence edges are augmented by edges representing shared data dependences. Greedy algorithms for mining maximal frequent subgraphs and frequent graph minors are used to extract candidate rules from EPDGs, and heuristic algorithms based on graph matching are used to identify rule violations. The evaluation of our approaches on open source projects such as the openssl, net-snmp, and Apache projects demonstrates that our approaches based on mining program dependence graphs are able to discover a significant number of neglected conditions. The experimental results show that our approaches detected 62 new bugs from the latest versions of these applications, with 35 of them confirmed and fixed by developers according to our reports. More interestingly, our empirical study indicates that our approaches are able to discover ordering rules, which involve ordering of function calls, and the corresponding rule violations also.
Degree
thesis:*- Name thesis:degree_name
- Doctor of Philosophy
- Level thesis:degree_level
- doctoral
- Discipline thesis:degree_discipline
- Electrical Engineering and Computer Science - Computer and Information
- Grantor dc:publisher
- Case Western Reserve University School of Graduate Studies
- Year dc:date
- 2009
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- CHANG, RAY-YAUNG
- Contributors dc:contributor
-
- Podgurski, H. Andy
Subjects
dc:subject × 6Rights
dc:rights- Statement dc:rights
-
- unrestricted
- This thesis or dissertation is protected by copyright: all rights reserved. It may not be copied or redistributed beyond the terms of applicable copyright laws.
- Language dc:language
- English
Identifiers
dc:identifier.*- Repository record dc:identifier
- http://rave.ohiolink.edu/etdc/view?acc_num=case1218722056