SCALE: Constructing Structured Natural Language Comment Trees for Software Vulnerability Detection

Xin-Cheng Wen,Cuiyun Gao,Shuzheng Gao,Yang Xiao,Michael R. Lyu
2024-03-28
Abstract:Recently, there has been a growing interest in automatic software vulnerability detection. Pre-trained model-based approaches have demonstrated superior performance than other Deep Learning (DL)-based approaches in detecting vulnerabilities. However, the existing pre-trained model-based approaches generally employ code sequences as input during prediction, and may ignore vulnerability-related structural information, as reflected in the following two aspects. First, they tend to fail to infer the semantics of the code statements with complex logic such as those containing multiple operators and pointers. Second, they are hard to comprehend various code execution sequences, which is essential for precise vulnerability detection.
Software Engineering,Cryptography and Security
What problem does this paper attempt to address?