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
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
yongtao发布了新的文献求助10
1秒前
张群完成签到,获得积分10
2秒前
3秒前
3秒前
斯文败类的应助被R0u采纳,获得10
4秒前
4秒前
5秒前
fqy发布了新的文献求助10
6秒前
6秒前
dejavu发布了新的文献求助10
8秒前
sss宋颂完成签到,获得积分10
8秒前
独特的完成签到,获得积分20
9秒前
加油少年完成签到,获得积分10
9秒前
parantal发布了新的文献求助10
10秒前
田様的应助被活力的紫伊采纳,获得10
10秒前
嘿嘿嘿完成签到,获得积分10
10秒前
研友_qZ65Gn的应助被冷静新烟采纳,获得10
11秒前
遇见发布了新的文献求助30
11秒前
ypp发布了新的文献求助10
11秒前
11秒前
12秒前
12秒前
吾日三省吾身完成签到 ,获得积分10
13秒前
13秒前
科研通AI6.4的应助被yhyhyh采纳,获得10
13秒前
13秒前
15秒前
彭于晏的应助被行川采纳,获得10
15秒前
16秒前
can发布了新的文献求助10
17秒前
18秒前
lonely完成签到,获得积分10
18秒前
chisure完成签到,获得积分20
18秒前
灵巧的乐枫完成签到 ,获得积分10
18秒前
wangweihao关注了科研通微信公众号
18秒前
紫紫发布了新的文献求助10
18秒前
称心世平发布了新的文献求助10
19秒前
Ava的应助被好名采纳,获得10
20秒前
20秒前
20秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Aspects of Post-SPE Phonology 2000
CLSI VET01S Ed7 Performance Standards for Antimicrobial Disk and Dilution Susceptibility Tests for Bacteria Isolated From Animals 1000
Performance standards for antimicrobial disk and dilution susceptibility tests for bacteria isolated from animals 888
Rosenblum, Global Change Biology 800
Holistic Discourse Analysis, Second Edition by Robert E. Longacre (2012-09-10) 666
Berberine regulates the TLR4 signaling pathway to suppress hypoxia-induced proliferation and migration of pulmonary arterial smooth muscle cells 530
热门求助领域 (近24小时)
化学 材料科学 医学 生物 计算机科学 工程类 纳米技术 物理 有机化学 化学工程 内科学 生物化学 复合材料 催化作用 心理学 细胞生物学 无机化学 电极 光电子学 人工智能
热门帖子
关注 科研通微信公众号,转发送积分 7869921
求助须知:如何正确求助?哪些是违规求助? 9386865
关于积分的说明 20760896
捐赠科研通 7471118
什么是DOI,文献DOI怎么找? 3350448
关于科研通互助平台的介绍 2491340
邀请新用户注册赠送积分活动 2377058