Journal of Jilin University Science Edition ›› 2023, Vol. 61 ›› Issue (6): 1358-1366.

Previous Articles     Next Articles

Vulnerability Detection Method Based on Word Vector Model

XIAO Wei1, HU Jinghao2, HOU Zhengzhang2, WANG Tao1, PAN Chao1   

  1. 1. School of Computer Science and Engineering, Changchun University of Technology, Changchun 130012, China;
    2. College of Software, Jilin University, Changchun 130012, China
  • Received:2022-10-24 Online:2023-11-26 Published:2023-11-26

Abstract: Aiming at the problems of non-uniform experimental platforms and heterogeneous datasets faced in the field of vulnerability dete
ction, 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 function-level code has shallow semantic relationships and tight connections within code blocks.

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

CLC Number: 

  • TP311