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.
最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
更新
PDF的下载单位、IP信息已删除 (2025-6-4)

科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
Owen应助谨言采纳,获得10
1秒前
BDMAXPK发布了新的文献求助10
1秒前
2秒前
2秒前
大轩发布了新的文献求助10
2秒前
榜一大哥的负担完成签到 ,获得积分10
5秒前
科研通AI2S应助糖豆采纳,获得10
9秒前
9秒前
熱風完成签到 ,获得积分10
12秒前
柯一一应助Liucky采纳,获得10
12秒前
13秒前
科目三应助高跟鞋陈煋采纳,获得10
13秒前
彩色夜阑完成签到,获得积分10
13秒前
搜集达人应助果子采纳,获得10
13秒前
南天发布了新的文献求助30
14秒前
爆米花应助Mingtiaoxiyue采纳,获得30
14秒前
涛声依旧完成签到,获得积分10
16秒前
S.S.N完成签到 ,获得积分10
18秒前
18秒前
25秒前
26秒前
情怀应助Cici采纳,获得10
28秒前
星辰大海应助WD采纳,获得10
29秒前
果子发布了新的文献求助10
30秒前
31秒前
科目三应助糊涂的猎豹采纳,获得10
34秒前
35秒前
风清扬应助清脆的灵煌采纳,获得30
35秒前
思源应助美好斓采纳,获得30
37秒前
成功应助hkh采纳,获得10
37秒前
酷波er应助信仰阳光快乐采纳,获得10
38秒前
Tong完成签到,获得积分10
39秒前
香蕉觅云应助克林沙星采纳,获得10
39秒前
田様应助孙成成采纳,获得10
39秒前
一把过发布了新的文献求助10
40秒前
新嘟发布了新的文献求助10
41秒前
Owen应助12采纳,获得10
42秒前
42秒前
42秒前
45秒前
高分求助中
A new approach to the extrapolation of accelerated life test data 1000
Picture Books with Same-sex Parented Families: Unintentional Censorship 700
ACSM’s Guidelines for Exercise Testing and Prescription, 12th edition 500
Nucleophilic substitution in azasydnone-modified dinitroanisoles 500
不知道标题是什么 500
Indomethacinのヒトにおける経皮吸収 400
Phylogenetic study of the order Polydesmida (Myriapoda: Diplopoda) 370
热门求助领域 (近24小时)
化学 材料科学 医学 生物 工程类 有机化学 生物化学 物理 内科学 纳米技术 计算机科学 化学工程 复合材料 遗传学 基因 物理化学 催化作用 冶金 细胞生物学 免疫学
热门帖子
关注 科研通微信公众号,转发送积分 3975610
求助须知:如何正确求助?哪些是违规求助? 3519986
关于积分的说明 11200337
捐赠科研通 3256337
什么是DOI,文献DOI怎么找? 1798246
邀请新用户注册赠送积分活动 877446
科研通“疑难数据库(出版商)”最低求助积分说明 806357