Infrared: A Meta Bug Detector
Zhang, Chi, Wang, Yu, Wang, Linzhang
–arXiv.org Artificial Intelligence
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.
arXiv.org Artificial Intelligence
Sep-18-2022
- Country:
- Oceania > Australia
- New South Wales > Sydney (0.04)
- North America
- United States
- District of Columbia > Washington (0.04)
- Texas > Travis County
- Austin (0.04)
- New York > New York County
- New York City (0.05)
- Massachusetts > Middlesex County
- Cambridge (0.04)
- Illinois > Cook County
- Chicago (0.04)
- Georgia > Fulton County
- Atlanta (0.04)
- Florida > Orange County
- Orlando (0.04)
- California
- Los Angeles County > Los Angeles (0.14)
- Santa Clara County > San Jose (0.04)
- San Diego County > San Diego (0.04)
- Orange County > Anaheim (0.04)
- Canada
- Quebec > Montreal (0.04)
- British Columbia (0.04)
- United States
- Europe
- Sweden > Vaestra Goetaland
- Gothenburg (0.04)
- Spain > Catalonia
- Barcelona Province > Barcelona (0.04)
- Slovenia > Drava
- Municipality of Maribor > Maribor (0.04)
- Russia > Northwestern Federal District
- Leningrad Oblast > Saint Petersburg (0.04)
- Germany > Saxony
- Leipzig (0.04)
- Sweden > Vaestra Goetaland
- Asia
- Russia (0.04)
- China > Jiangsu Province
- Nanjing (0.04)
- Oceania > Australia
- Genre:
- Research Report > New Finding (0.67)
- Technology: