已入深夜,您辛苦了!由于当前在线用户较少,发布求助请尽量完整地填写文献信息,科研通机器人24小时在线,伴您度过漫漫科研夜!祝你早点完成任务,早点休息,好梦!

Enhancing vulnerability detection via AST decomposition and neural sub-tree encoding

计算机科学 脆弱性(计算) 树(集合论) 编码(内存) 数据挖掘 人工智能 计算机安全 数学分析 数学
作者
Zhenzhou Tian,Binhui Tian,Jiajun Lv,Yanping Chen,Lingwei Chen
出处
期刊:Expert Systems With Applications [Elsevier BV]
卷期号:238: 121865-121865 被引量:25
标识
DOI:10.1016/j.eswa.2023.121865
摘要

The explosive growth of software vulnerabilities poses a serious threat to the system security and has become one of the urgent problems of the day. However, existing vulnerability detection methods are still faced with limitations in reaching the balance between detection accuracy, efficiency and applicability. Following a divide-and-conquer strategy, this paper proposes TrVD (abstract syntax Tree decomposition based Vulnerability Detector) to disclose the indicative semantics implied in the source code fragments for accurate and efficient vulnerability detection. To facilitate the capture of subtle semantic features, TrVD converts the AST of a code fragment into an ordered set of sub-trees of restricted sizes and depths with a novel decomposition algorithm. The semantics of each sub-tree can thus be effectively collected with a carefully designed tree-structured neural network. Finally, a Transformer-style encoder is utilized to aggregate the long-range contextual semantics of all sub-trees into a vulnerability-specific vector to represent the target code fragment. The extensive experiments conducted on five large datasets consisting of diverse real-world and synthetic vulnerable samples demonstrate the performance superiority of TrVD against SOTA approaches in detecting the presence of vulnerabilities and pinpointing the vulnerability types. The ablation studies also confirm the effectiveness of TrVD's core designs.
最长约 10秒,即可获得该文献文件

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

科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
幽默白秋发布了新的文献求助30
1秒前
星星的宇宙完成签到,获得积分10
4秒前
高高的丹雪完成签到 ,获得积分10
5秒前
特特雷珀萨努完成签到 ,获得积分10
10秒前
11秒前
南山发布了新的文献求助10
16秒前
19秒前
hh完成签到 ,获得积分10
19秒前
盛事不朽完成签到 ,获得积分10
20秒前
薄荷小新完成签到 ,获得积分10
20秒前
海鸥别叫了完成签到 ,获得积分10
23秒前
28秒前
靖柔完成签到 ,获得积分10
29秒前
芳心纵火犯完成签到,获得积分10
30秒前
FLY完成签到,获得积分10
32秒前
深情安青应助yuyu采纳,获得10
33秒前
饱满的日记本完成签到,获得积分10
34秒前
Cookiee完成签到 ,获得积分10
36秒前
36秒前
青丝二缕完成签到,获得积分10
37秒前
科研通AI5应助桃桃采纳,获得10
38秒前
小海完成签到,获得积分0
42秒前
42秒前
44秒前
45秒前
儿学化学打断腿完成签到,获得积分10
45秒前
yuyu发布了新的文献求助10
47秒前
50秒前
52秒前
Aloha完成签到,获得积分10
55秒前
桃桃发布了新的文献求助10
59秒前
clown发布了新的文献求助10
59秒前
怡然立轩完成签到 ,获得积分10
1分钟前
星辰大海应助yuyu采纳,获得30
1分钟前
彭于晏应助科研通管家采纳,获得10
1分钟前
1分钟前
桃桃完成签到,获得积分10
1分钟前
tjnksy完成签到,获得积分10
1分钟前
暴风眼完成签到,获得积分10
1分钟前
小宇宙z完成签到,获得积分10
1分钟前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Architectural Corrosion and Critical Infrastructure 1000
Early Devonian echinoderms from Victoria (Rhombifera, Blastoidea and Ophiocistioidea) 1000
By R. Scott Kretchmar - Practical Philosophy of Sport and Physical Activity - 2nd (second) Edition: 2nd (second) Edition 666
Electrochemistry: Volume 17 600
Physical Chemistry: How Chemistry Works 500
SOLUTIONS Adhesive restoration techniques restorative and integrated surgical procedures 500
热门求助领域 (近24小时)
化学 医学 生物 材料科学 工程类 有机化学 内科学 生物化学 物理 计算机科学 纳米技术 遗传学 基因 复合材料 化学工程 物理化学 病理 催化作用 免疫学 量子力学
热门帖子
关注 科研通微信公众号,转发送积分 4944474
求助须知:如何正确求助?哪些是违规求助? 4209382
关于积分的说明 13085189
捐赠科研通 3989085
什么是DOI,文献DOI怎么找? 2183984
邀请新用户注册赠送积分活动 1199325
关于科研通互助平台的介绍 1112262