Leveraging Deep Learning Models for Cross-function Null Pointer Risks Detection

计算机科学 抽象语法树 指针(用户界面) 源代码 深度学习 人工智能 抽象语法 静态程序分析 程序设计语言 语法 原始数据 自然语言处理 机器学习 软件 软件开发
作者
Yue Ding,Qian Wu,Yinzhu Li,Dongdong Wang,Jiaxin Huang
标识
DOI:10.1109/aitest58265.2023.00025
摘要

The progress made in deep learning for natural language understanding has inspired researchers to explore similar techniques for programming language understanding. Various methods have been proposed for identifying vulnerabilities in code, including those that work on raw code or use abstract syntax tree (AST) and data-flow analysis. However, these methods only perform single-function analysis and cannot precisely pinpoint bugs. This study introduces a pipeline for detecting and locating null pointer vulnerabilities in C++ source code through cross-function analysis. The pipeline includes a data-flow analyzer capable of analyzing function call relationships and a deep learning model. We evaluate our approach on an industrial dataset and compare it with cppcheck using a user study. Our findings indicate that our method is an effective complement to cppcheck.

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
xiantao完成签到,获得积分10
1秒前
2秒前
李健应助yankel采纳,获得10
2秒前
4秒前
CipherSage应助阳光蚂蚁采纳,获得10
4秒前
上官若男应助接南采纳,获得10
4秒前
v0id应助kai采纳,获得10
5秒前
5秒前
ggx完成签到,获得积分10
6秒前
8杯水完成签到,获得积分10
7秒前
7秒前
小二郎应助1111采纳,获得10
7秒前
8秒前
MR_H应助撒西不理采纳,获得10
9秒前
麦克尔发布了新的文献求助10
9秒前
Deposit完成签到 ,获得积分10
9秒前
科研通AI6.4应助ggx采纳,获得10
9秒前
xxd完成签到,获得积分10
11秒前
春山可期发布了新的文献求助10
13秒前
苏1完成签到,获得积分20
13秒前
dudu发布了新的文献求助10
14秒前
野枳完成签到,获得积分10
15秒前
15秒前
16秒前
xinyu完成签到,获得积分10
16秒前
17秒前
17秒前
ante完成签到,获得积分10
18秒前
18秒前
19秒前
19秒前
彭于晏应助pingping采纳,获得30
19秒前
Havoc完成签到,获得积分10
20秒前
刘六六发布了新的文献求助10
20秒前
20秒前
21秒前
香蕉发夹完成签到,获得积分10
21秒前
科研通AI2S应助Ghh采纳,获得10
21秒前
21秒前
爆米花应助JimChein采纳,获得10
21秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Les Mantodea de Guyane: Insecta, Polyneoptera [The Mantids of French Guiana] 2500
Atlas of Aligner Treatment and Planning A Case-Based Approach 1000
Rocket Propulsion Elements, 10th Edition 800
悉尼大学博士学位论文,题目:Modelling and testing of one-sided stitched laminated composites. 作者:Kristopher P. Plain 700
Soil mites of the family Rhagidiidae (Actinedida: Eupodoidea). Morphology, Systematics, Ecology 520
Matrix Methods in Data Mining and Pattern Recognition Second Edition 510
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 工程类 有机化学 化学工程 生物化学 计算机科学 内科学 物理 复合材料 催化作用 细胞生物学 无机化学 光电子学 物理化学 电极 基因
热门帖子
关注 科研通微信公众号,转发送积分 7443224
求助须知:如何正确求助?哪些是违规求助? 9044423
关于积分的说明 19279757
捐赠科研通 7067937
什么是DOI,文献DOI怎么找? 3238643
关于科研通互助平台的介绍 2402129
邀请新用户注册赠送积分活动 2222704