paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Interprocedural Path Complexity Analysis

过程间路径复杂度分析
ISSTA Proceedings of the 33rd ACM SIGSOFT International Symposium on Software Testing and Analysis2024匹配度 4/10 · 论文研究过程间渐近路径复杂度分析与符号执行路径爆炸预测,属于程序分析和静态分析范畴,与用户对静态分析的广泛兴趣有一定交集;但它不涉及 LLM/Agent、浮点程序分析或贝叶斯程序分析,也没有面向 AI 系统或 Agentic 程序,因此与画像核心方向匹配有限。引用 0 inbox
Mira Kaniyur, Ana Cavalcante-Studart, Yihan Yang, Sangeon Park, David Chen, Duy Lam, Lucas Bang
crossref: 2026-09-12

AI 速览

一句话:提出 APC-IP 算法,高效计算过程间函数的渐近路径复杂度,并预测符号执行的路径爆炸。

符号执行等软件测试技术常受路径爆炸困扰。渐近路径复杂度(APC)可量化这种爆炸,但已有 APC 方法一般无法处理过程间函数。本文提出 APC-IP 算法,能够高效计算更广泛函数的 APC,包括过程间调用,并在速度与适用范围上优于先前方法。作者将 APC-IP 实现于 Metrinome 之上,在 C 函数基准上,与现有方法和基线对比,并与符号执行引擎 KLEE 的路径爆炸进行比较。结果表明,APC-IP 不仅与既有 APC 值一致,还在性能、可扩展性和复杂源码处理上表现更优;它还能预测 KLEE 探索的路径数量,扩展了 APC 指标的应用范围并超越此前实现。

问题
符号执行面临路径爆炸,已有渐近路径复杂度(APC)方法不能一般地处理过程间函数,难以量化真实程序的路径复杂度。
方法
提出 APC-IP 算法,在 Metrinome 上实现,可高效计算包括过程间调用在内的更广泛函数的 APC。
评估
在 C 函数基准上,与现有 APC 方法、基线及 KLEE 路径爆炸对比,验证数值一致性、性能、可扩展性以及预测 KLEE 路径数的能力。
原文摘要(Abstract)

Software testing techniques like symbolic execution face significant challenges with path explosion. Asymptotic Path Complexity (APC) quantifies this path explosion complexity, but existing APC methods do not work for interprocedural functions in general. Our new algorithm, APC-IP, efficiently computes APC for a wider range of functions, including interprocedural ones, improving over previous methods in both speed and scope. We implement APC-IP atop the existing software Metrinome, and test it against a benchmark of C functions, comparing it to existing and baseline approaches as well as comparing it to the path explosion of the symbolic execution engine Klee. The results show that APC-IP not only aligns with previous APC values but also excels in performance, scalability, and handling complex source code. It also provides a complexity prediction of the number of paths explored by Klee, extending the APC metric's applicability and surpassing previous implementations.

链接与引用

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

BibTeX
@inproceedings{paperbot8527,
  title = {Interprocedural Path Complexity Analysis},
  author = {Mira Kaniyur and Ana Cavalcante-Studart and Yihan Yang and Sangeon Park and David Chen and Duy Lam and Lucas Bang},
  booktitle = {ISSTA},
  year = {2024},
  doi = {10.1145/3650212.3652118}
}