计算机科学
修剪
背景(考古学)
数据挖掘
路径(计算)
脆弱性(计算)
编码(集合论)
源代码
财产(哲学)
人工智能
功能(生物学)
噪音(视频)
机器学习
软件
桥(图论)
序列(生物学)
脆弱性评估
语义学(计算机科学)
特征提取
语义鸿沟
语言模型
班级(哲学)
语义相似性
作者
Yukun Dong,Shuo Wang,Shanchen Pang
标识
DOI:10.1142/s0218194026500610
摘要
Software vulnerability detection increasingly relies on learning-based models. However, most existing methods analyze individual functions in isolation, making it difficult to capture vulnerabilities caused by cross-function calls; directly introducing complete call chains can also lead to context expansion and noise accumulation. This paper proposes VulRESC, a vulnerability detection framework based on risk path extraction and inter-procedural semantic completion. The method first constructs code property graphs and extracts call paths related to external inputs and high-risk operations through a risk-point-driven pruning strategy. It then uses large language models to generate structured summaries for callees along the sequence in a bottom-up manner and introduces a variable-name alignment mechanism to bridge the semantic gap across function boundaries. Finally, the proposed DualVulBERT dual-stream model is employed to jointly identify vulnerabilities by fusing source code features and inter-procedural semantic summaries through cross-modal attention. Experimental results on real-world C/C[Formula: see text] vulnerability datasets show that VulRESC achieves an accuracy of 68.03% and an F1-score of 69.37%, outperforming representative existing methods.
科研通智能强力驱动
Strongly Powered by AbleSci AI