arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2503.17502cs.SEcs.AIcs.CL
收藏

用于源代码分析的大语言模型(LLMs):应用、模型与数据集

Large Language Models (LLMs) for Source Code Analysis: applications, models and datasets

University of New Brunswick(新不伦瑞克大学);Canadian Institute for Cybersecurity(加拿大网络安全研究所);Faculty of Computer Science(计算机科学学院)

Hamed Jelodar, Mohammad Meymani, Roozbeh Razavi-Far

AI总结:

本文围绕应用场景、所用模型、所用数据集及面临挑战,调研LLMs用于源代码分析的相关学术研究,梳理该新兴领域的进展、趋势与知识结构,总结局限并指出对未来研究有价值的工具、数据集与核心挑战。

摘要:

大语言模型(LLMs)与基于Transformer的架构正越来越多地被用于源代码分析。随着软件系统复杂度提升,将LLMs整合进代码分析工作流对提升效率、准确性与自动化水平至关重要。本文探究了LLMs在不同代码分析任务中的作用,聚焦三个核心维度:1)其可分析的内容与应用场景;2)所使用的模型;3)所使用的数据集,以及它们面临的挑战。围绕研究目标,我们调研了探索LLMs用于源代码分析的学术论文,以揭示这一新兴领域的研究进展、当前趋势与知识结构。此外,我们总结了现有局限,并梳理了关键工具、数据集与核心挑战,可为未来研究提供参考。

英文摘要:

Large language models (LLMs) and transformer-based architectures are increasingly utilized for source code analysis. As software systems grow in complexity, integrating LLMs into code analysis workflows becomes essential for enhancing efficiency, accuracy, and automation. This paper explores the role of LLMs for different code analysis tasks, focusing on three key aspects: 1) what they can analyze and their applications, 2) what models are used and 3) what datasets are used, and the challenges they face. Regarding the goal of this research, we investigate scholarly articles that explore the use of LLMs for source code analysis to uncover research developments, current trends, and the intellectual structure of this emerging field. Additionally, we summarize limitations and highlight essential tools, datasets, and key challenges, which could be valuable for future work.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑