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
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
CipherSage应助科研通管家采纳,获得10
刚刚
CodeCraft应助科研通管家采纳,获得10
刚刚
完美世界应助科研通管家采纳,获得10
刚刚
bkagyin应助科研通管家采纳,获得10
刚刚
斯文败类应助科研通管家采纳,获得10
刚刚
林中鸟发布了新的文献求助10
3秒前
3秒前
3秒前
love发布了新的文献求助10
4秒前
上官听白发布了新的文献求助10
4秒前
4秒前
共享精神应助风趣的笑天采纳,获得10
5秒前
科研通AI6.4应助hk1900采纳,获得10
5秒前
鱼儿发布了新的文献求助10
5秒前
墨MOL发布了新的文献求助30
6秒前
汉堡包应助内向的冲击波采纳,获得10
6秒前
6秒前
牧青发布了新的文献求助10
7秒前
7秒前
今后应助李建国采纳,获得10
9秒前
林中鸟完成签到,获得积分10
9秒前
盲点发布了新的文献求助10
9秒前
高贵诗翠发布了新的文献求助10
10秒前
李爱国应助gujianhua采纳,获得10
11秒前
11秒前
LBJ完成签到,获得积分10
11秒前
Hawnyoung发布了新的文献求助10
12秒前
livra1058发布了新的文献求助10
12秒前
华仔应助阿喵采纳,获得10
12秒前
feng发布了新的文献求助10
13秒前
华仔应助Jeneration采纳,获得10
13秒前
13秒前
何香稳完成签到 ,获得积分10
14秒前
梧wu发布了新的文献求助10
15秒前
镜中永恒发布了新的文献求助30
16秒前
所所应助牧青采纳,获得10
16秒前
rong发布了新的文献求助10
16秒前
墨MOL完成签到,获得积分10
16秒前
在水一方应助邢仟仟采纳,获得10
17秒前
17秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Real Analysis: Theory of Measure and Integration (3rd Edition) Epub版 1200
AnnualResearch andConsultation Report of Panorama survey and Investment strategy onChinaIndustry 1000
卤化钙钛矿人工突触的研究 1000
Engineering for calcareous sediments : proceedings of the International Conference on Calcareous Sediments, Perth 15-18 March 1988 / edited by R.J. Jewell, D.C. Andrews 1000
Continuing Syntax 1000
Production of doubled haploid plants ofCucurbitaceaefamily crops through unpollinated ovule culture in vitro 700
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 工程类 有机化学 化学工程 生物化学 计算机科学 物理 内科学 复合材料 催化作用 物理化学 光电子学 电极 细胞生物学 基因 无机化学
热门帖子
关注 科研通微信公众号,转发送积分 6267403
求助须知:如何正确求助?哪些是违规求助? 8088548
关于积分的说明 16907435
捐赠科研通 5337401
什么是DOI,文献DOI怎么找? 2840480
邀请新用户注册赠送积分活动 1817854
关于科研通互助平台的介绍 1671228