An Abstract Domain Extending Difference-Bound Matrices with Disequality Constraints

Mathias Péron 1, * Nicolas Halbwachs 1
* Corresponding author
Abstract : Knowing that two numerical variables always hold different values, at some point of a program, can be very useful, especially for analyzing aliases: if i ≠ j, then A[i] and A[j] are not aliased, and this knowledge is of great help for many other program analyses. Surprisingly, disequalities are seldom considered in abstract interpretation, most of the proposed numerical domains being restricted to convex sets. In this paper, we propose to combine simple ordering properties with disequalities. “Difference-bound matrices” (or DBMs) is a domain proposed by David Dill, for expressing relations of the form x − y ≤ c or c ≤ x ≤ c'. We define dDBMs (“disequalities DBMs”) as conjunctions of DBMs with simple disequalities of the form x ≠ y or x ≠ 0. We give algorithms on dDBMs, for deciding the emptiness, computing a normal form, and performing the usual operations of an abstract domain. These algorithms have the same complexity (O(n 3), where n is the number of variables) than those for classical DBMs, if the variables are considered to be valued in a dense set (ℝ or ℚ). In the arithmetic case, the emptiness decision is NP-complete, and other operations run in O(n 5).
Document type :
Conference papers
Byron Cook, Andreas Podelski. Verification, Model Checking, and Abstract Interpretation (VMCAI'2007), Jan 2007, Nice, France. Springer, 4349, pp.268-282, 2007, LNCS. <10.1007/978-3-540-69738-1_20>
Liste complète des métadonnées

https://hal.archives-ouvertes.fr/hal-00189821
Contributor : Mathias Péron <>
Submitted on : Tuesday, March 11, 2008 - 4:23:17 PM
Last modification on : Wednesday, March 12, 2008 - 2:08:57 PM
Document(s) archivé(s) le : Tuesday, September 21, 2010 - 4:17:22 PM

File

PeronHalbwachsVMCAI07.pdf
Files produced by the author(s)

Identifiers

Collections

Citation

Mathias Péron, Nicolas Halbwachs. An Abstract Domain Extending Difference-Bound Matrices with Disequality Constraints. Byron Cook, Andreas Podelski. Verification, Model Checking, and Abstract Interpretation (VMCAI'2007), Jan 2007, Nice, France. Springer, 4349, pp.268-282, 2007, LNCS. <10.1007/978-3-540-69738-1_20>. <hal-00189821v2>

Share

Metrics

Record views

220

Document downloads

124