arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1912.02015cs.SEcs.CRcs.LG
收藏

使用序列到序列学习修复C漏洞

Using Sequence-to-Sequence Learning for Repairing C Vulnerabilities

KTH Royal Institue of Technology(KTH皇家理工学院);Colorado State University(科罗拉多州立大学)

Zimin Chen, Steve Kommrusch, Martin Monperrus

摘要:

软件漏洞影响所有企业,正在进行研究以避免、检测或修复这些漏洞。在这篇文章中,我们贡献了一种自动修复漏洞的新技术。我们提出了一个系统,使用丰富的软件开发历史,可以在GitHub上找到训练生成补丁的AI系统。我们在代码更改的大数据集上应用序列到序列学习,并从CVE数据库中评估训练系统的真实漏洞。实验结果表明了序列到序列学习用于修复软件漏洞的可行性。

英文摘要:

Software vulnerabilities affect all businesses and research is being done to avoid, detect or repair them. In this article, we contribute a new technique for automatic vulnerability fixing. We present a system that uses the rich software development history that can be found on GitHub to train an AI system that generates patches. We apply sequence-to-sequence learning on a big dataset of code changes and we evaluate the trained system on real world vulnerabilities from the CVE database. The result shows the feasibility of using sequence-to-sequence learning for fixing software vulnerabilities.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑