共享上下文批量可满足性
Shared-Context Batched Satisfiability
AI总结:
针对程序分析中共享上下文的批量SMT查询问题,形式化为共享上下文批量可满足性,提出Core-Literal Filter算法,并评估了三种策略的优劣。
摘要:
程序分析器经常发出共享大量符号上下文且仅在一个小谓词上不同的SMT查询批次。我们将这种重复出现的模式形式化为\emph{共享上下文批量可满足性}:给定公式$\varphi$和谓词$P$,确定对于每个$p \in P$,$\varphi \land p$是否可满足。我们研究了三种与理论无关的策略:逐个谓词检查、析取过近似和Core-Literal Filter(CLF),这是一种学习与$\varphi$不一致的文字并用它们来拒绝后续谓词的新算法。我们在符号抽象和主动属性检查上的评估表明,没有一种策略普遍占优:过近似在已解决的符号抽象查询上最快,而CLF增加了已解决的困难实例数量,并在主动属性检查上最快。我们主张将共享上下文批量可满足性作为设计程序分析器中的一类原语,并更系统地探索算法设计空间。
英文摘要:
Program analyzers often issue batches of SMT queries that share a large symbolic context and differ only in a small predicate. We formalize this recurring pattern as \emph{Shared-Context Batched Satisfiability}: given a formula $φ$ and predicates $P$, determine whether $φ\land p$ is satisfiable for each $p \in P$. We study three theory-agnostic strategies for this problem: predicate-by-predicate checking, disjunctive over-approximation, and Core-Literal Filter (CLF), a new algorithm that learns literals inconsistent with $φ$ and uses them to reject later predicates. Our evaluation on symbolic abstraction and active property checking shows that no strategy dominates universally: over-approximation is fastest on solved symbolic-abstraction queries, while CLF increases the number of solved hard instances and is fastest on active property checking. We advocate treating shared-context batched satisfiability as a first-class primitive in design program analyzers and exploring the algorithmic design space more systematically.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。