paperbot · PL 论文追踪

全部论文 待读 收藏

P0 SpecGuru: Hierarchical LLM-Driven API Points-to Specification Generation with Self-Validation

SpecGuru:层次化LLM驱动的API指向规约生成与自验证
ICSE Proceedings of the 2026 IEEE/ACM 48th International Conference on Software Engineering2026匹配度 8/10 · 论文利用层次化LLM生成并自验证API指向规约,直接对应“AI→PL:利用LLM/Agent改进静态分析”的研究方向,且涉及指向分析与API规约,属于核心交叉点;但与浮点程序分析、贝叶斯程序分析及Agentic程序静态分析无直接关联。引用 0 inbox
Shuangxiang Kan, Yuekang Li, Xiao Cheng, Yulei Sui
crossref: 2026-09-12

AI 速览

一句话:提出层次化LLM驱动并自验证的API指向规约生成方法,缓解第三方API复杂语义、语法与边界情况带来的静态分析困难。

静态分析是保障软件安全可靠的关键技术。当分析调用第三方API的客户端代码时,如何处理API源码成为核心问题。常见做法是使用API规约来近似API的关键行为,从而避免直接分析其实现。然而,现有API规约构造方法难以充分应对复杂语义、复杂语法以及边界情况等挑战。为此,本文提出SpecGuru:一种层次化、由大语言模型(LLM)驱动、带自验证机制的API points-to规约生成方法。该方法利用分层生成与自验证来提升规约质量,从而更好地支持调用第三方API的客户端代码静态分析。摘要未给出具体实验评估与量化结果。

问题
分析调用第三方API的客户端代码时,直接用API实现或现有规约难以准确近似其行为;复杂语义、语法与边界情况使现有API规约构造方法失效。
方法
SpecGuru采用层次化LLM驱动生成API points-to规约,并引入自验证机制来提升生成规约的可靠性与可用性。
评估
摘要未提供具体评估设置与结果;论文目标是通过生成的API规约避免直接分析实现,以支持客户端代码静态分析。
原文摘要(Abstract)

Static analysis is a fundamental technique for ensuring software safety and reliability. However, when analyzing client code that invokes third-party APIs, proper handling of API source code becomes critical. A common approach is to utilize API specifications that approximate the essential behaviors of the API while avoiding direct analysis of the implementation. Existing methods for constructing API specifications often fail to adequately address challenges presented by complex semantics, syntax, and edge cases.

链接与引用

DOI 原文 · PDF(开放获取) ·

BibTeX
@inproceedings{paperbot11939,
  title = {SpecGuru: Hierarchical LLM-Driven API Points-to Specification Generation with Self-Validation},
  author = {Shuangxiang Kan and Yuekang Li and Xiao Cheng and Yulei Sui},
  booktitle = {ICSE},
  year = {2026},
  doi = {10.1145/3744916.3773209}
}