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

基于LLM的二进制分析中的隐式模式

Implicit Patterns in LLM-Based Binary Analysis

Beijing Jiaotong University(北京交通大学)

Qiang Li, XiangRui Zhang, Haining Wang

AI总结:

研究揭示了基于LLM的多轮二进制漏洞分析中隐式形成的结构化模式,包括早期剪枝、路径依赖锁定、目标回溯和知识引导优先级,为构建更可靠的分析系统提供了基础。

摘要:

二进制漏洞分析越来越多地由基于LLM的代理以迭代、多轮的方式进行,模型作为核心决策者。然而,这种系统如何在数百次推理步骤中组织探索仍不明确,由于受限的上下文窗口和隐式令牌级行为。本文首次进行了大规模、跟踪级研究,表明多轮LLM推理会产生结构化的令牌级隐式模式。分析521个二进制文件,共99,563次推理步骤,我们识别出四个主导模式:早期剪枝、路径依赖锁定、目标回溯和知识引导优先级,这些隐式模式源自推理轨迹。这些令牌级隐式模式是LLM推理的抽象:而不是显式控制流或预定义启发式,探索通过隐式决策调节路径选择、承诺和修订。我们的分析显示这些模式形成一个稳定、结构化的系统,具有不同的时间角色和可测量特征。我们的结果为LLM驱动的二进制分析提供了首次系统表征,并为更可靠的分析系统奠定了基础。

英文摘要:

Binary vulnerability analysis is increasingly performed by LLM-based agents in an iterative, multi-pass manner, with the model as the core decision-maker. However, how such systems organize exploration over hundreds of reasoning steps remains poorly understood, due to limited context windows and implicit token-level behaviors. We present the first large-scale, trace-level study showing that multi-pass LLM reasoning gives rise to structured, token-level implicit patterns. Analyzing 521 binaries with 99,563 reasoning steps, we identify four dominant patterns: early pruning, path-dependent lock-in, targeted backtracking, and knowledge-guided prioritization that emerge implicitly from reasoning traces. These token-level implicit patterns serve as an abstraction of LLM reasoning: instead of explicit control-flow or predefined heuristics, exploration is organized through implicit decisions regulating path selection, commitment, and revision. Our analysis shows these patterns form a stable, structured system with distinct temporal roles and measurable characteristics. Our results provide the first systematic characterization of LLM-driven binary analysis and a foundation for more reliable analysis systems.

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

↑