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
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
刚刚
刚刚
1秒前
1秒前
2秒前
果子爱学习完成签到 ,获得积分10
2秒前
哎呦发布了新的文献求助10
2秒前
张小明完成签到,获得积分10
3秒前
田様应助陀思妥耶夫斯基采纳,获得10
3秒前
平常书雪完成签到,获得积分10
3秒前
3秒前
3秒前
3秒前
999发布了新的文献求助10
3秒前
xl发布了新的文献求助10
4秒前
北北完成签到,获得积分10
5秒前
1wEi发布了新的文献求助10
5秒前
张小明发布了新的文献求助10
5秒前
5秒前
无奈醉柳发布了新的文献求助10
6秒前
考拉发布了新的文献求助10
6秒前
7秒前
8秒前
小刺客发布了新的文献求助10
8秒前
洒水员完成签到,获得积分10
8秒前
9秒前
999完成签到,获得积分10
10秒前
悲凉的小馒头完成签到,获得积分10
10秒前
111发布了新的文献求助10
12秒前
12秒前
晓晓来了完成签到,获得积分10
12秒前
哈哈哈发布了新的文献求助10
13秒前
平常千万完成签到,获得积分10
13秒前
13秒前
立冬完成签到,获得积分10
14秒前
14秒前
殷勤的紫槐应助帅气若魔采纳,获得200
15秒前
爱撒娇的寻真完成签到,获得积分10
15秒前
研友_VZG7GZ应助科研通管家采纳,获得10
16秒前
Alexa应助科研通管家采纳,获得10
16秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Metallurgy at high pressures and high temperatures 2000
Tier 1 Checklists for Seismic Evaluation and Retrofit of Existing Buildings 1000
PowerCascade: A Synthetic Dataset for Cascading Failure Analysis in Power Systems 1000
The Organic Chemistry of Biological Pathways Second Edition 1000
Signals, Systems, and Signal Processing 610
An Introduction to Medicinal Chemistry 第六版习题答案 600
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 工程类 有机化学 化学工程 生物化学 计算机科学 物理 内科学 复合材料 催化作用 物理化学 光电子学 电极 细胞生物学 基因 无机化学
热门帖子
关注 科研通微信公众号,转发送积分 6333080
求助须知:如何正确求助?哪些是违规求助? 8149806
关于积分的说明 17108002
捐赠科研通 5388885
什么是DOI,文献DOI怎么找? 2856801
邀请新用户注册赠送积分活动 1834299
关于科研通互助平台的介绍 1685299