跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 软件工程

arXiv:2006.08614 (cs)
[提交于 2020年6月15日]

标题:Learning to map source code to software vulnerability using code-as-a-graph

作者:Sahil Suneja, Yunhui Zheng, Yufan Zhuang, Jim Laredo, Alessandro Morari
查看论文《Learning to map source code to software vulnerability using code-as-a-graph》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:We explore the applicability of Graph Neural Networks in learning the nuances of source code from a security perspective. Specifically, whether signatures of vulnerabilities in source code can be learned from its graph representation, in terms of relationships between nodes and edges. We create a pipeline we call AI4VA, which first encodes a sample source code into a Code Property Graph. The extracted graph is then vectorized in a manner which preserves its semantic information. A Gated Graph Neural Network is then trained using several such graphs to automatically extract templates differentiating the graph of a vulnerable sample from a healthy one. Our model outperforms static analyzers, classic machine learning, as well as CNN and RNN-based deep learning models on two of the three datasets we experiment with. We thus show that a code-as-graph encoding is more meaningful for vulnerability detection than existing code-as-photo and linear sequence encoding approaches. (Submitted Oct 2019, Paper #28, ICST)
主题: 软件工程 (cs.SE); 密码学与安全 (cs.CR); 机器学习 (cs.LG); 程序设计语言 (cs.PL)
引用方式: arXiv:2006.08614 [cs.SE]
  (或者 arXiv:2006.08614v1 [cs.SE] 对于此版本)
  https://doi.org/10.48550/arXiv.2006.08614

提交历史

来自:Sahil Suneja
[v1] 2020年6月15日 星期一 16:05:27 UTC
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs.SE
< 上一篇   |   下一篇 >
最新 | 近期 | 2020-06
切换浏览方式为:
cs
cs.CR
cs.LG
cs.PL

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站