arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2312.04731cs.SEcs.AIcs.IR
收藏

STraceBERT:使用语义应用程序跟踪的源代码检索

STraceBERT: Source Code Retrieval using Semantic Application Traces

University of California at Davis(加州大学戴维斯分校)

Claudio Spiess

AI总结:

提出 STraceBERT,通过 Java 动态跟踪与 BERT 预训练实现方法源代码检索,并在实验中优于现有方法。

摘要:

软件逆向工程是软件工程和安全领域的一项重要任务,但它可能是一个具有挑战性的过程,尤其是对于对抗性工件而言。为应对这一挑战,我们提出了 STraceBERT,这是一种新颖方法,利用 Java 动态分析工具记录对核心 Java 库的调用,并在记录的应用程序跟踪上预训练 BERT 风格模型,以便从候选集中有效检索方法源代码。我们的实验证明,与现有方法相比,STraceBERT 在检索源代码方面具有有效性。我们提出的方法为软件逆向工程中的代码检索问题提供了一种有前景的解决方案,并为该领域的进一步研究开辟了新途径。

英文摘要:

Software reverse engineering is an essential task in software engineering and security, but it can be a challenging process, especially for adversarial artifacts. To address this challenge, we present STraceBERT, a novel approach that utilizes a Java dynamic analysis tool to record calls to core Java libraries, and pretrain a BERT-style model on the recorded application traces for effective method source code retrieval from a candidate set. Our experiments demonstrate the effectiveness of STraceBERT in retrieving the source code compared to existing approaches. Our proposed approach offers a promising solution to the problem of code retrieval in software reverse engineering and opens up new avenues for further research in this area.

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

↑