Finite differencing of logical formulas for static analysis
Finite differencing of logical formulas for static analysis
复制标题
静态分析逻辑公式的有限差分
DOI:
10.1145/1749608.1749613
复制
发表时间:
2003
期刊:
影响因子:
--
通讯作者:
Alexey Loginov
中科院分区:
文献类型:
--
作者:
T. Reps;Shmuel Sagiv;Alexey Loginov
This article concerns mechanisms for maintaining the value of an instrumentation relation (also known as a derived relation or view), defined via a logical formula over core relations, in response to changes in the values of the core relations. It presents an algorithm for transforming the instrumentation relation's defining formula into a relation-maintenance formula that captures what the instrumentation relation's new value should be. The algorithm runs in time linear in the size of the defining formula.
The technique applies to program analysis problems in which the semantics of statements is expressed using logical formulas that describe changes to core relation values. It provides a way to obtain values of the instrumentation relations that reflect the changes in core relation values produced by executing a given statement.
We present experimental evidence that our technique is an effective one: for a variety of benchmarks, the relation-maintenance formulas produced automatically using our approach yield the same precision as the best available hand-crafted ones.