Identifying Minimal Changes in the Zone Abstract Domain

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

Verification techniques express program states as logical formulas over program variables. For example, symbolic execution and abstract interpretation encode program states as a set of linear integer inequalities. However, for real-world programs these formulas tend to become large, which affects scalability of analyses. To address this problem, researchers developed complementary approaches which either remove redundant inequalities or extract a subset of inequalities sufficient for specific reasoning, i.e., formula slicing. For arbitrary linear integer inequalities, such reduction approaches either have high complexities or over-approximate. However, efficiency and precision of these approaches can be improved for a restricted type of logical formulas used in relational numerical abstract domains. While previous work investigated custom efficient redundant inequality elimination for Zones states, our work examines custom semantic slicing algorithms that identify a minimal set of changed inequalities in Zones states. The client application of the minimal changes in Zones is an empirical study on comparison between invariants computed by data-flow analysis using Zones, Intervals and Predicates numerical domains. In particular, evaluations compare how our proposed algorithms affect the precision of comparing Zones vs. Intervals and Zones vs. Predicates abstract domains. The results show our techniques reduce the number of variables by more than 70 % and the number of linear inequalities by 30 %, comparing to those of full states. The approach refines the granularity of comparison between domains, reducing incomparable invariants between Zones and Predicates from 52 % to 4 %, and increases equality of Intervals and Zones, invariants from 27 % to 71 %. Finally, the techniques improve the comparison efficiency by reducing total runtime for all subject comparisons for Zones and Predicates from over four minutes to a few seconds.

Original languageEnglish
Title of host publicationTheoretical Aspects of Software Engineering - 17th International Symposium, TASE 2023, Proceedings
EditorsCristina David, Meng Sun
PublisherSpringer Science and Business Media Deutschland GmbH
Pages221-239
Number of pages19
ISBN (Print)9783031352560
DOIs
StatePublished - 2023
Event17th International Symposium on Theoretical Aspects of Software Engineering, TASE 2023 - Bristol, United Kingdom
Duration: 4 Jul 20236 Jul 2023

Publication series

NameLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
Volume13931 LNCS
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349

Conference

Conference17th International Symposium on Theoretical Aspects of Software Engineering, TASE 2023
Country/TerritoryUnited Kingdom
CityBristol
Period4/07/236/07/23

Keywords

  • Abstract domains
  • Abstract interpretation
  • Program analysis
  • Static analysis

Fingerprint

Dive into the research topics of 'Identifying Minimal Changes in the Zone Abstract Domain'. Together they form a unique fingerprint.

Cite this