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
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
刚刚
orixero应助潘多拉采纳,获得10
刚刚
大模型应助零零柒采纳,获得10
刚刚
啦啦啦完成签到,获得积分20
刚刚
123木头人完成签到,获得积分10
1秒前
zlc驳回了所所应助
1秒前
Clovis33完成签到 ,获得积分10
2秒前
2秒前
3秒前
天菱完成签到,获得积分10
3秒前
碎觉觉发布了新的文献求助10
3秒前
Jasper应助帅气的高跟鞋采纳,获得10
3秒前
万能图书馆应助安成采纳,获得10
4秒前
神马都不懂完成签到,获得积分10
4秒前
5秒前
Lyc完成签到,获得积分10
5秒前
5秒前
小马甲应助unicorn采纳,获得10
6秒前
哈哈2022完成签到,获得积分10
6秒前
灵巧代柔完成签到,获得积分10
6秒前
6秒前
kyhappy_2002发布了新的文献求助10
7秒前
Hw完成签到,获得积分10
8秒前
8秒前
xiaowanzi发布了新的文献求助10
8秒前
9秒前
蓝幻雷完成签到,获得积分10
9秒前
zxr发布了新的文献求助20
9秒前
小何应助ricardo采纳,获得10
9秒前
10秒前
11秒前
善良的樱完成签到 ,获得积分10
11秒前
11秒前
彭于晏应助机灵石头采纳,获得10
11秒前
苗烨霖完成签到,获得积分10
11秒前
qx发布了新的文献求助10
12秒前
吓吓侬完成签到,获得积分10
12秒前
12秒前
13秒前
乐乐乐完成签到,获得积分10
14秒前
高分求助中
Markov Chain Monte Carlo 10000
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Common Foundations of American and East Asian Modernisation: From Alexander Hamilton to Junichero Koizumi 5000
Pediatric Dermoscopy Trichoscopy & Onychoscopy 1000
悉尼大学博士学位论文,题目:Modelling and testing of one-sided stitched laminated composites. 作者:Kristopher P. Plain 700
Matrix Methods in Data Mining and Pattern Recognition Second Edition 610
Data book on fatigue strength of metallic materials 500
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 工程类 有机化学 化学工程 生物化学 计算机科学 内科学 物理 复合材料 催化作用 细胞生物学 无机化学 光电子学 物理化学 电极 基因
热门帖子
关注 科研通微信公众号,转发送积分 7566428
求助须知:如何正确求助?哪些是违规求助? 9146617
关于积分的说明 19557748
捐赠科研通 7152855
什么是DOI,文献DOI怎么找? 3262653
关于科研通互助平台的介绍 2428883
邀请新用户注册赠送积分活动 2252574