paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Path-Sensitive Abstract Interpretation for WCET Estimation

面向 WCET 估计的路径敏感抽象解释
PLDI 10(PLDI)2026匹配度 4/10 · 该论文属于程序分析与抽象解释,在WCET估计中提升缓存分析精度,与用户对静态分析/形式化的兴趣有部分重叠,但不涉及LLM/Agent、浮点或贝叶斯程序分析等核心交叉方向,因此匹配度有限。引用 0 inbox
Shangshang Xiao, Mengxia Sun, Wei Zhang, Naijun Zhan, Lei Ju
crossref: 2026-09-10

AI 速览

一句话:提出路径敏感抽象解释缓存分析,维护关键路径缓存状态,在保持可扩展性下平均提升 WCET 精度 24.83%。

WCET 分析为实时系统提供程序执行时间上界,而缓存行为的精确建模对 WCET 估计至关重要,因为缓存缺失延迟通常远高于命中延迟。缓存行为具有路径相关性,现有方法常用抽象解释避免枚举所有路径,但传统抽象解释是上下文无关的,会跨路径采用最保守情形,导致 WCET 上界过度估计。为兼顾可扩展性与精度,本文提出一种路径敏感的抽象解释缓存分析:它维护一组来自关键执行路径的缓存状态,从而导出上下文感知的缓存行为,并可无缝集成到标准 WCET 框架中,得到紧致且可证明可靠的 WCET 界。实验表明,该方法在不牺牲可扩展性的前提下,平均将 WCET 精度提升 24.83%。

问题
传统抽象解释缓存分析是上下文无关的,跨路径取最保守情形,导致 WCET 上界过度估计,难以兼顾可扩展性与精度。
方法
维护关键执行路径上的缓存状态集合,进行路径敏感抽象解释以导出上下文感知的缓存行为,并将其集成到标准 WCET 框架中得到紧致且可靠的界。
评估
在 WCET 分析基准上进行实验,结果显示平均提升 24.83% 的精度,同时不牺牲可扩展性。
原文摘要(Abstract)

Worst-Case Execution Time (WCET) analysis provides an upper bound on a program’s execution time and is fundamental to the design and verification of real-time systems. Accurate modeling of cache behavior is critical for WCET estimation, as cache-miss latency is typically orders of magnitude larger than cache-hit latency. Since cache behavior is path dependent, existing methods commonly use abstract interpretation to estimate cache behaviors without enumerating all paths. However, conventional abstract interpretation is context-agnostic—adopting the most conservative case across paths—and thus may produce an overestimated WCET bound. To bridge the gap between scalability and accuracy, we propose a path-sensitive abstract-interpretation-based cache analysis that maintains a set of cache states drawn from critical execution paths to derive context-aware cache behavior. This path-sensitive cache analysis integrates seamlessly into standard WCET frameworks, resulting in tight yet provably sound WCET bounds. Experiments show that our approach improves WCET accuracy by an average of 24.83% without sacrificing scalability.

链接与引用

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

BibTeX
@article{XiaoSZZJ26,
  title = {Path-Sensitive Abstract Interpretation for WCET Estimation},
  author = {Shangshang Xiao and Mengxia Sun and Wei Zhang and Naijun Zhan and Lei Ju},
  journal = {Proceedings of the ACM on Programming Languages},
  volume = {10},
  number = {PLDI},
  year = {2026},
  doi = {10.1145/3808252}
}