Vulnerability Detection Method Based on Word Vector Model

Authors

  • Xiao Wei
  • Hu Jinghao
  • Hou Zhengzhang
  • Wang Tao
  • Pan Chao

DOI:

https://doi.org/10.59782/sidr.v2i1.119

Keywords:

word vector model, vulnerability detection, abstract syntax tree, code representation, neural network

Abstract

Aiming at the problems of non-uniform experimental platforms and heterogeneous datasets faced in the field of vulnerability detection, we studied the application of word vector models in C/C + +function vulnerability detection. Five word vector models were used for the knowledge representation of the abstract syntax tree structure generated by the source code, and six neural network models were used for vulnerability detection. The experimental results show that functionlevel code has shallow semantic relationships and tight connections within code blocks.

How to Cite

Wei, X., Jinghao, H., Zhengzhang, H., Tao, W., & Chao, P. (2024). Vulnerability Detection Method Based on Word Vector Model. Scientific Insights and Discoveries Review, 2, 227–237. https://doi.org/10.59782/sidr.v2i1.119