arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2512.01609cs.SE
收藏

GPTrace: 利用LLM嵌入实现高效的崩溃去重

GPTrace: Effective Crash Deduplication Using LLM Embeddings

Fraunhofer AISEC(弗劳恩霍夫AISEC研究所);Technical University of Munich(慕尼黑工业大学)

Patrick Herter, Vincent Ahlrichs, Ridvan Açilan, Julian Horsch

AI总结:

GPTrace利用大型语言模型嵌入技术,通过计算崩溃相关数据的向量并输入聚类算法,实现高效的崩溃去重,优于传统方法。

摘要:

模糊测试是一种发现软件漏洞高度有效的技术,但分析所产生的数据通常需要大量的手动工作。这一问题被加剧,因为模糊测试活动往往发现大量的崩溃输入,其中许多共享相同的底层bug。崩溃去重的任务是找到这样的重复崩溃输入,从而减少需要检查的数据量。许多现有的去重方法依赖于比较堆栈跟踪或其他在程序崩溃时收集的信息。尽管已经提出了多种度量此类信息相似性的指标,但许多指标并未产生令人满意的去重结果。在本工作中,我们提出了GPTrace,一种利用大型语言模型来评估与崩溃相关的各种数据源相似性的去重流程。通过计算嵌入向量并将这些作为输入提供给聚类算法。我们评估了我们的方法在超过300,000个属于50个真实标签的14个不同目标的崩溃输入上的表现。GPTrace产生的去重结果在手工编写的堆栈跟踪比较方法和甚至更复杂的最新状态的先进方法上都有明显改进。

英文摘要:

Fuzzing is a highly effective method for uncovering software vulnerabilities, but analyzing the resulting data typically requires substantial manual effort. This is amplified by the fact that fuzzing campaigns often find a large number of crashing inputs, many of which share the same underlying bug. Crash deduplication is the task of finding such duplicate crashing inputs and thereby reducing the data that needs to be examined. Many existing deduplication approaches rely on comparing stack traces or other information that is collected when a program crashes. Although various metrics for measuring the similarity of such pieces of information have been proposed, many do not yield satisfactory deduplication results. In this work, we present GPTrace, a deduplication workflow that leverages a large language model to evaluate the similarity of various data sources associated with crashes by computing embedding vectors and supplying those as input to a clustering algorithm. We evaluate our approach on over 300 000 crashing inputs belonging to 50 ground truth labels from 14 different targets. The deduplication results produced by GPTrace show a noticeable improvement over hand-crafted stack trace comparison methods and even more complex state-of-the-art approaches that are less flexible.

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

↑