Resumen
Most software systems frequently encounter errors when interacting with their environments. When errors occur, error-handling code must execute flawlessly to facilitate system recovery. Implementing correct error handling is repetitive but non-trivial, and developers often inadvertently introduce bugs into error-handling code. Existing tools require correct error specifications to detect error-handling bugs. Manually generating error specifications is error-prone and tedious, while automatically mining error specifications is hard to achieve a satisfying accuracy. In this paper, we propose EH-Miner, a novel and practical tool that can automatically detect error-handling bugs without the need for error specifications. Given a function, EH-Miner mines its error-handling rules when the function is frequently checked by an equivalent condition, and handled by the same action. We applied EH-Miner to 117 applications across 15 software domains. EH-Miner mined error-handling rules with the precision of 91.1% and the recall of 46.9%. We reported 142 bugs to developers, and 106 bugs had been confirmed and fixed at the time of writing. We further applied EH-Miner to Linux kernel, and reported 68 bugs for kernel-4.17, of which 42 had been confirmed or fixed.
| Idioma original | English |
|---|---|
| Título de la publicación alojada | Proceedings - 2019 34th IEEE/ACM International Conference on Automated Software Engineering, ASE 2019 |
| Páginas | 213-225 |
| Número de páginas | 13 |
| ISBN (versión digital) | 9781728125084 |
| DOI | |
| Estado | Published - nov 2019 |
| Evento | 34th IEEE/ACM International Conference on Automated Software Engineering, ASE 2019 - San Diego, United States Duración: nov 10 2019 → nov 15 2019 |
Serie de la publicación
| Nombre | Proceedings - 2019 34th IEEE/ACM International Conference on Automated Software Engineering, ASE 2019 |
|---|
Conference
| Conference | 34th IEEE/ACM International Conference on Automated Software Engineering, ASE 2019 |
|---|---|
| País/Territorio | United States |
| Ciudad | San Diego |
| Período | 11/10/19 → 11/15/19 |
Nota bibliográfica
Publisher Copyright:© 2019 IEEE.
Financiación
This work was supported in part by National Key R&D Program of China No. 2017YFB1001802; NSFC No. 61872373 and 61872375; NSF grant CCF-1652149 and CCF-1909085; High-End Generic Chips and Basic Software under grants No. 2017ZX01038104-002; China Scholarship Council.
| Financiadores | Número del financiador |
|---|---|
| National Science Foundation (NSF) | CCF-1652149, CCF-1909085, 2017ZX01038104-002 |
| National Natural Science Foundation of China (NSFC) | 61872375, 61872373 |
| China Scholarship Council | |
| National Key Research and Development Program of China | 2017YFB1001802 |
ASJC Scopus subject areas
- Computer Networks and Communications
- Software
- Control and Optimization
Huella
Profundice en los temas de investigación de 'Detecting error-handling bugs without error specification input'. En conjunto forman una huella única.Citar esto
- APA
- Author
- BIBTEX
- Harvard
- Standard
- RIS
- Vancouver