Vul-Mirror: A Few-Shot Learning Method for Discovering Vulnerable Code Clone.

EAI Endorsed Trans. Security Safety(2020)

引用 0|浏览2
暂无评分
摘要
It is quite common for reusing code in soft development, which may lead to the wide spread of the vulnerability, soautomatic detection of vulnerable code clone is becoming more and more important. However, the existing solutions eithercannot automatically extract the characteristics of the vulnerable codes or cannot select different algorithms according todifferent codes, which results in low detection accuracy. In this paper, we consider the identification of vulnerable codeclone as a code recognition task and propose a method named Vul-Mirror based on a few-shot learning model fordiscovering clone vulnerable codes. It can not only automatically extract features of vulnerabilities, but also use thenetwork to measure similarity. The results of experiments on open-source projects of five operating systems show that theaccuracy of Vul-Mirror is 95.7%, and its performance is better than the state-of-the-art methods.
更多
查看译文
关键词
vulnerability,few-shot learning,code clone,distance-metric
AI 理解论文
溯源树
样例
生成溯源树,研究论文发展脉络
Chat Paper
正在生成论文摘要