首页> 外文会议>IEEE International Conference on Software Testing, Verification and Validation >R2Fix: Automatically Generating Bug Fixes from Bug Reports
【24h】

R2Fix: Automatically Generating Bug Fixes from Bug Reports

机译:R2Fix:从错误报告自动生成错误修复

获取原文

摘要

Many bugs, even those that are known and documented in bug reports, remain in mature software for a long time due to the lack of the development resources to fix them. We propose a general approach, R2Fix, to automatically generate bug-fixing patches from free-form bug reports. R2Fix combines past fix patterns, machine learning techniques, and semantic patch generation techniques to fix bugs automatically. We evaluate R2Fix on three projects, i.e., the Linux kernel, Mozilla, and Apache, for three important types of bugs: buffer overflows, null pointer bugs, and memory leaks. R2Fix generates 57 patches correctly, 5 of which are new patches for bugs that have not been fixed by developers yet. We reported all 5 new patches to the developers, 4 have already been accepted and committed to the code repositories. The 57 correct patches generated by R2Fix could have shortened and saved up to an average of 63 days of bug diagnosis and patch generation time.
机译:许多错误,即使是已知且已记录在错误报告中的错误,由于缺乏修复这些错误的开发资源,它们也长期保留在成熟的软件中。我们提出了一种通用方法R2Fix,可以从自由格式的错误报告中自动生成错误修复补丁。 R2Fix结合了过去的修复模式,机器学习技术和语义补丁生成技术来自动修复错误。我们在三个项目(即Linux内核,Mozilla和Apache)上评估R2Fix,以查找三种重要的错误类型:缓冲区溢出,空指针错误和内存泄漏。 R2Fix正确生成了57个补丁,其中5个是针对尚未被开发人员修复的错误的新补丁。我们向开发人员报告了所有5个新补丁,其中4个已经被接受并致力于代码存储库。由R2Fix生成的57个正确的补丁程序可以缩短并节省平均63天的错误诊断和补丁程序生成时间。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号