arrow
返回

LCVD: Loop-oriented code vulnerability detection via graph neural network

delete2023-08-01
delete4
PRE
AI
M
Mingke Wang
C
Chuanqi Tao *
H
Hongjing Guo
DOI:10.1016/j.jss.2023.111706delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
Due to the unique mechanism and complex structure, loops in programs can easily lead to various vulnerabilities such as dead loops, memory leaks, resource depletion, etc. Traditional approaches to loop-oriented program analysis (e.g. loop summarization) are costly with a high rate of false positives in complex software systems. To address the issues above, recent works have applied deep learning (DL) techniques to vulnerability detection. However, existing DL-based approaches mainly focused on the general characteristics of most vulnerabilities without considering the semantic information of specific vulnerabilities. As a typical structure in programs, loops are highly iterative with multi-paths. Currently, there is a lack of available approaches to represent loops, as well as useful methods to extract the implicit vulnerability patterns. Therefore, this paper introduces LCVD, an automated loop -oriented code vulnerability detection approach. LCVD represents the source code as the Loop-flow Abstract Syntax Tree (LFAST), which focuses on interleaving multi-paths around loop structures. Then a novel Loop-flow Graph Neural Network (LFGNN) is proposed to learn both the local and overall structure of loop-oriented vulnerabilities. The experimental results demonstrate that LCVD outperforms the three static analysis-based and four state-of-the-art DL-based vulnerability detection approaches across evaluation settings.(c) 2023 Elsevier Inc. All rights reserved.
Keyword:
Loop-oriented vulnerability
Vulnerability detection
Deep learning
Code representation
Graph neural network

期刊

Journal of Systems and Software 封面图
Journal of Systems and Software
IF:
4.1
论文数:
5.4K
被引数:
8.4K

机构

暂无机构信息
引用论文

引用论文

Modeling Functional Similarity in Source Code With Graph-Based Siamese Networks
err2022-10-01
err17
errOAAI
errMehrotra, Nikita; Agarwal, Navdha; Gupta, Piyush; Anand, Saket; Lo, David; Purandare, Rahul
err分享
err收藏
err分享
err收藏
err分享
err收藏
Optimized mismatch negativity paradigm reflects deficits in schizophrenia patients
err2008-02-01
err0
PREAI
errH. Thönnessen; M. Zvyagintsev; K.C. Harke; F. Boers; J. Dammers; Ch. Norra; K. Mathiak
err分享
err收藏
没有更多内容