TY - GEN
T1 - Incremental Transitive Closure for Zonal Abstract Domain
AU - Ballou, Kenny
AU - Sherman, Elena
N1 - Publisher Copyright:
© 2022, Springer Nature Switzerland AG.
PY - 2022
Y1 - 2022
N2 - 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, with O(n3) complexity, where n is 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 O(n2). We evaluate our approach by performing intra-procedural Zonal analysis on 63 real-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.
AB - 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, with O(n3) complexity, where n is 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 O(n2). We evaluate our approach by performing intra-procedural Zonal analysis on 63 real-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.
UR - http://www.scopus.com/inward/record.url?scp=85131150026&partnerID=8YFLogxK
U2 - 10.1007/978-3-031-06773-0_43
DO - 10.1007/978-3-031-06773-0_43
M3 - Conference contribution
AN - SCOPUS:85131150026
SN - 9783031067723
T3 - Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
SP - 800
EP - 808
BT - NASA Formal Methods - 14th International Symposium, NFM 2022, Proceedings
A2 - Deshmukh, Jyotirmoy V.
A2 - Havelund, Klaus
A2 - Perez, Ivan
PB - Springer Science and Business Media Deutschland GmbH
T2 - 14th International Symposium on NASA Formal Methods, NFM 2022
Y2 - 24 May 2022 through 27 May 2022
ER -