A Fresh Look at Zones and Octagons. Gange, G., Ma, Z., Navas, J. A., Schachte, P., Søndergaard, H., & Stuckey, P. J. ACM Transactions on Programming Languages and Systems, 43(3):11:1–11:51, 2021.
doi  abstract   bibtex   
Zones and Octagons are popular abstract domains for static program analysis. They enable the automated discovery of simple numerical relations that hold between pairs of program variables. Both domains are well understood mathematically but the detailed implementation of static analyses based on these domains poses many interesting algorithmic challenges. In this paper we study the two abstract domains, their implementation and use. Utilizing improved data structures and algorithms for the manipulation of graphs that represent difference-bound constraints, we present fast implementations of both abstract domains, built around a common infrastructure. We compare the performance of these implementations against alternative approaches offering the same analysis precision. We quantify the differences in performance by measuring their speed and precision on standard benchmarks. We also assess, in the context of software verification, the extent to which the improved precision translates to better verification outcomes. Experiments demonstrate that our new implementations improve the state-of-the-art for both Zones and Octagons significantly.
@article{Gan-Ma-Nav-Sch-Son-Stu_TOPLAS21,
  author    = {Graeme Gange and
                Zequn Ma and
                Jorge A. Navas and
                Peter Schachte and
                Harald S{\o}ndergaard and
                Peter J. Stuckey},
  title     = {A Fresh Look at {Zones} and {Octagons}},
  journal   = {ACM Transactions on Programming Languages and Systems},
  volume    = {43},
  number    = {3},
  pages     = {11:1--11:51},
  year      = {2021},
  doi       = {10.1145/3457885},
  abstract  = {Zones and Octagons are popular abstract domains for 
		static program analysis. They enable the automated 
		discovery of simple numerical relations that hold 
		between pairs of program variables. Both domains 
		are well understood mathematically but the detailed 
		implementation of static analyses based on these 
		domains poses many interesting algorithmic challenges. 
		In this paper we study the two abstract domains, their 
		implementation and use. Utilizing improved data 
		structures and algorithms for the manipulation of 
		graphs that represent difference-bound constraints, 
		we present fast implementations of both abstract domains, 
		built around a common infrastructure. We compare the 
		performance of these implementations against alternative 
		approaches offering the same analysis precision. We 
		quantify the differences in performance by measuring 
		their speed and precision on standard benchmarks. We 
		also assess, in the context of software verification, 
		the extent to which the improved precision translates 
		to better verification outcomes. Experiments demonstrate 
		that our new implementations improve the state-of-the-art 
		for both Zones and Octagons significantly.},
  keywords  = {Abstract domains, Abstract interpretation, Static analysis},
}

Downloads: 0