首页> 外文期刊>Software Engineering, IEEE Transactions on >GenProg: A Generic Method for Automatic Software Repair
【24h】

GenProg: A Generic Method for Automatic Software Repair

机译:GenProg:一种自动软件修复的通用方法

获取原文
获取原文并翻译 | 示例
           

摘要

This paper describes GenProg, an automated method for repairing defects in off-the-shelf, legacy programs without formal specifications, program annotations, or special coding practices. GenProg uses an extended form of genetic programming to evolve a program variant that retains required functionality but is not susceptible to a given defect, using existing test suites to encode both the defect and required functionality. Structural differencing algorithms and delta debugging reduce the difference between this variant and the original program to a minimal repair. We describe the algorithm and report experimental results of its success on 16 programs totaling 1.25 M lines of C code and 120K lines of module code, spanning eight classes of defects, in 357 seconds, on average. We analyze the generated repairs qualitatively and quantitatively to demonstrate that the process efficiently produces evolved programs that repair the defect, are not fragile input memorizations, and do not lead to serious degradation in functionality.
机译:本文介绍了GenProg,这是一种用于修复现成的,遗留程序中的缺陷的自动化方法,无需正式规范,程序注释或特殊的编码做法。 GenProg使用遗传编程的扩展形式来开发程序变体,该变体保留所需功能,但不易受给定缺陷的影响,使用现有的测试套件对缺陷和所需功能进行编码。结构差异算法和增量调试将这种变体与原始程序之间的差异减少到最小程度。我们描述了该算法,并在16个程序上报告了其成功的实验结果,这些程序总共1.25万行C代码和120K行模块代码,平均在357秒内跨越八类缺陷。我们定性和定量分析生成的修复程序,以证明该过程有效地生成了可修复缺陷的改进程序,这些程序不是易碎的输入存储,不会导致功能严重下降。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号