arrow
返回

SlicedLocator: Code vulnerability locator based on sliced dependence graph

delete2023-11-01
delete1
PRE
AI
B
Bolun Wu
F
Futai Zou *
易
易平 (Ping Yi)
Y
Yue Wu
L
Liang Zhang
DOI:10.1016/j.cose.2023.103469delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
Machine learning-based fine-grained vulnerability detection is an important technique for locating vulnerable statements, which assists engineers in efficiently analyzing and fixing the vulnerabilities. However, due to insufficient code representations, code embeddings, and neural network design, current methods suffer low vulnerability localization performance. In this paper, we propose to address these shortcomings by presenting SlicedLocator, a novel fine-grained code vulnerability detection model that is trained in a dual-grained manner and can predict both program-level and statement-level vulnerabilities. We design the sliced dependence graph, a new code representation that not only preserves rich interprocedural relations but also eliminates vulnerability irrelevant statements. We create attention-based code embedding networks that are trained with the entire model to extract vulnerability-aware code features. In addition, we present a new LSTM-GNN model as a fusion of semantic modeling and structural modeling. Experiment results on a large-scale C/C++ vulnerability dataset reveal that SlicedLocator outperforms state-of-the-art machine learning-based vulnerability detectors, especially in terms of localization metrics.
Keyword:
Vulnerability detection
Localization
Program analysis
Program representation
Deep learning

期刊

C
Computers and Security
IF:
5.4
论文数:
4.6K
被引数:
1.4W

机构

S
shanghai jiao tong university
学者数:
15.7W
论文数: 11.7W
被引数: 159
引用论文

引用论文

err
IF0
err
err0
PREAI
err
err分享
err收藏
Semantic Learning and Emulation Based Cross-Platform Binary Vulnerability Seeker
err2021-11-01
err15
errOAAI
errGao, Jian; Jiang, Yu; Liu, Zhe; Yang, Xin; Wang, Cong; Jiao, Xun; Yang, Zijiang; Sun, Jiaguang
err分享
err收藏
err分享
err收藏
Combining Graph-Based Learning With Automated Data Collection for Code Vulnerability Detection基于图的学习与自动数据收集相结合的代码漏洞检测
err2021-01-01
err166
errOAAI
errWang, Huanting; Ye, Guixin; Tang, Zhanyong; Tan, Shin Hwei; Huang, Songfang; Fang, Dingyi; Feng, Yansong; Bian, Lizhong; Wang, Zheng
err分享
err收藏
没有更多内容