Incremental Transitive Closure for Zonal Abstract Domain
Incremental Transitive Closure for Zonal Abstract Domain
复制标题
区域抽象域的增量传递闭包
DOI:
10.1007/978-3-031-06773-0_43
复制
发表时间:
2022
期刊:
影响因子:
--
通讯作者:
Sherman, Elena
中科院分区:
文献类型:
--
作者:
Ballou, Kenny;Sherman, Elena
The Zonal numerical domain is an efficient, weakly-relational abstract domain in static analysis by abstract interpretation. Compared to the Interval domain, the Zonal domain is capable of discovering weak relations between two program variables. To reason about Zonal states, it is imperative that they are transformed into a canonical closed form. This task is accomplished through the transitive closure operation commonly implemented as the all-pairs shortest path algorithm, withcomplexity, whereis the number of program variables.In this work, we explore the closed form of Zonal states in the context of a data-flow analysis framework. Also, we present an incremental transitive closure algorithm that preserves a closed form of an updated Zonal state. The algorithm reduces the overall analysis complexity to. We evaluate our approach by performing intra-procedural Zonal analysis onreal-world programs. The results show an improvement in runtime, especially on large programs. For example, an hour-long analyzer run with the traditional Zonal implementation has been reduced to a minute with the proposed incremental Zonal variant.