Title :
Automatically Mining High Level Patterns of Software Faults within Methods
Author :
Hailong Zhang ; Dalin Zhang ; Dahai Jin ; Yunzhan Gong ; Chengcheng Wang
Author_Institution :
State Key Lab. of Networking & Switching Technol., Beijing Univ. of Posts & Telecommun., Beijing, China
Abstract :
Software faults are usually correlated to each other in practice. However, pattern-based static analysis can only report independent atomic faults, such as null-pointer dereference and memory leak. It does not take the influences among different faults into account which will lead to omissions of faults and bring security risks. Also, massive independent faults are against the understanding of them that may result in incomplete modifications. In this paper, we propose a new approach to generalize high level patterns with static analysis. Our approach first extracts execution traces of faults and joins the related faults into single compound traces. Then it mines a set of frequent patterns with only compound traces supporting them. The underlying algorithms in our approach have been implemented and applied to our static analysis tool, DTSGCC. The experimental results show the capability of our approach to discover high level patterns of faults.
Keywords :
data analysis; data mining; security of data; software reliability; DTSGCC static analysis tool; automatically high level pattern mining; execution fault traces; independent atomic faults; null-pointer dereference; pattern-based static analysis; security risks; software faults; Algorithm design and analysis; Compounds; Data mining; Databases; Reactive power; Security; Software; fault pattern mining; static analysis; tracing;
Conference_Titel :
Quality Software (QSIC), 2013 13th International Conference on
Conference_Location :
Najing
DOI :
10.1109/QSIC.2013.63