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
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
无尘泪发布了新的文献求助10
刚刚
周周发布了新的文献求助10
1秒前
li发布了新的文献求助10
1秒前
trying完成签到,获得积分10
1秒前
orixero应助qingjiu采纳,获得10
1秒前
Lucas应助地球采纳,获得10
1秒前
2秒前
烟花应助乐观的皮卡丘采纳,获得10
2秒前
2秒前
2秒前
千九完成签到,获得积分10
2秒前
3秒前
科研通AI6.2应助无限水杯采纳,获得10
3秒前
1433223发布了新的文献求助10
3秒前
3秒前
4秒前
4秒前
酷酷寄容完成签到,获得积分10
4秒前
cheng完成签到,获得积分10
4秒前
七哒蹦完成签到,获得积分10
4秒前
小麦完成签到,获得积分10
4秒前
4秒前
5秒前
大力的灵雁应助云隐雁鸣采纳,获得10
5秒前
充电宝应助周周采纳,获得10
5秒前
科研通AI6.1应助田小班采纳,获得10
5秒前
李李发布了新的文献求助10
5秒前
rei99完成签到,获得积分10
5秒前
6秒前
飞飏完成签到,获得积分20
6秒前
单薄的沛文完成签到,获得积分20
7秒前
YUAN发布了新的文献求助10
7秒前
小七发布了新的文献求助10
7秒前
上善若水完成签到 ,获得积分10
7秒前
xiaominza发布了新的文献求助10
7秒前
容荣发布了新的文献求助10
7秒前
多情以山发布了新的文献求助10
7秒前
范慧晨发布了新的文献求助10
8秒前
8秒前
zzz发布了新的文献求助10
8秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Handbook of pharmaceutical excipients, Ninth edition 5000
Aerospace Standards Index - 2026 ASIN2026 2000
Digital Twins of Advanced Materials Processing 2000
Social Cognition: Understanding People and Events 1200
Polymorphism and polytypism in crystals 1000
Signals, Systems, and Signal Processing 610
热门求助领域 (近24小时)
化学 材料科学 医学 生物 工程类 纳米技术 有机化学 物理 生物化学 化学工程 计算机科学 复合材料 内科学 催化作用 光电子学 物理化学 电极 冶金 遗传学 细胞生物学
热门帖子
关注 科研通微信公众号,转发送积分 6038357
求助须知:如何正确求助?哪些是违规求助? 7765535
关于积分的说明 16222645
捐赠科研通 5184403
什么是DOI,文献DOI怎么找? 2774513
邀请新用户注册赠送积分活动 1757394
关于科研通互助平台的介绍 1641690