Identifying Bug Signatures Using Discriminative Graph Mining

Abstract

Bug localization has attracted a lot of attention recently. Most existing methods focus on pinpointing a single state-ment or function call which is very likely to contain bugs. Although such methods could be very accurate, it is usually very hard for developers to understand the context of the bug, given each bug location in isolation. In this study, we propose to model software executions with graphs at two levels of granularity: methods and basic blocks. An indi-vidual node represents a method or basic block and an edge represents a method call, method return or transition (at the method or basic block granularity). Given a set of graphs of correct and faulty executions, we propose to extract the most discriminative subgraphs which contrast the program flow of correct and faulty executions. The extracted sub

    Similar works