Patching Locking Bugs Statically with Crayons

Author:

Cruz-Carlon Juan1ORCID,Varshosaz Mahsa1ORCID,Le Goues Claire2ORCID,Wasowski Andrzej1ORCID

Affiliation:

1. IT University of Copenhagen, Copenhagen, Denmark

2. Carnegie Mellon University School of Computer Science, Pittsburgh, PA, USA

Abstract

The Linux Kernel is a world-class operating system controlling most of our computing infrastructure: mobile devices, Internet routers and services, and most of the supercomputers. Linux is also an example of low-level software with no comprehensive regression test suite (for good reasons). The kernel’s tremendous societal importance imposes strict stability and correctness requirements. These properties make Linux a challenging and relevant target for static automated program repair (APR). Over the past decade, a significant progress has been made in dynamic APR. However, dynamic APR techniques do not translate naturally to systems without tests. We present a static APR technique addressing sequential locking API misuse bugs in the Linux Kernel. We attack the key challenge of static APR, namely, the lack of detailed program specification, by combining static analysis with machine learning to complement the information presented by the static analyzer. In experiments on historical real-world bugs in the kernel, we were able to automatically re-produce or propose equivalent patches in 85% of the human-made patches, and automatically rank them among the top three candidates for 64% of the cases and among the top five for 74%.

Funder

Independent Research Fund Denmark DFF

National Science Foundation NSF

Publisher

Association for Computing Machinery (ACM)

Subject

Software

Reference53 articles.

1. Automated program repair

2. GenProg: A Generic Method for Automatic Software Repair

3. The strength of random search on automated program repair

4. R. Kou, Y. Higo, and S. Kusumoto. 2016. A capable crossover technique on automatic program repair. In Proceedings of the 7th International Workshop on Empirical Software Engineering in Practice (IWESEP’16). 45–50.

5. F. Y. Assiri and J. M. Bieman. 2014. An assessment of the quality of automated program operator repair. In Proceedings of the IEEE 7th International Conference on Software Testing, Verification, and Validation. 273–282.

Cited by 1 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

1. Program Repair Guided by Datalog-Defined Static Analysis;Proceedings of the 31st ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering;2023-11-30

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3