红外线:一种Meta错误检测器
Infrared: A Meta Bug Detector
摘要:
最近深度学习方法的突破引发了人们对基于学习的bug检测器的兴趣。与传统的静态分析工具相比,这些缺陷检测器直接从数据中学习,因此更容易创建。另一方面,它们难以训练,需要大量不易获得的数据。在本文中,我们提出了一种新的方法,称为Meta错误检测,它提供了三个关键的优势,现有的基于学习的错误检测器:错误类型通用(即,能够捕获在训练期间完全未观察到的错误类型),可自我解释的(即,能够在没有任何外部可解释性方法的情况下解释其自身的预测)和样本有效(即,需要比标准缺陷检测器少得多的训练数据)。我们广泛的评估表明,我们的Meta错误检测器(MBD)是有效的捕捉各种错误,包括空指针解引用,数组索引越界,文件句柄泄漏,甚至并发程序中的数据竞争;在这个过程中,MBD也显着优于几个值得注意的基线,包括Facebook Infer,一个突出的静态分析工具,和FICS,最新的异常检测方法。
英文摘要:
The recent breakthroughs in deep learning methods have sparked a wave of interest in learning-based bug detectors. Compared to the traditional static analysis tools, these bug detectors are directly learned from data, thus, easier to create. On the other hand, they are difficult to train, requiring a large amount of data which is not readily available. In this paper, we propose a new approach, called meta bug detection, which offers three crucial advantages over existing learning-based bug detectors: bug-type generic (i.e., capable of catching the types of bugs that are totally unobserved during training), self-explainable (i.e., capable of explaining its own prediction without any external interpretability methods) and sample efficient (i.e., requiring substantially less training data than standard bug detectors). Our extensive evaluation shows our meta bug detector (MBD) is effective in catching a variety of bugs including null pointer dereference, array index out-of-bound, file handle leak, and even data races in concurrent programs; in the process MBD also significantly outperforms several noteworthy baselines including Facebook Infer, a prominent static analysis tool, and FICS, the latest anomaly detection method.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。