Repository logo
Log in(current)
Repository logoMIT Open ScholarshipDSpace@MIT
  1. Home
  2. Computer Science and Artificial Intelligence Lab (CSAIL)
  3. CSAIL Digital Archive
  4. CSAIL Technical Reports (July 1, 2003 - present)
  5. On Field Constraint Analysis

On Field Constraint Analysis

Thumbnail Image
Download
Name

MIT-CSAIL-TR-2005-072.ps

Size

21.63 MB

Format

PostScript

Checksum (MD5)

1717d2283cb5b8c98e588a84b518dbc3

Thumbnail Image
Download
Name

MIT-CSAIL-TR-2005-072.pdf

Size

906.56 KB

Format

Adobe PDF

Checksum (MD5)

1211a8230aacec1af54b4297e69ceb29

Author(s)
Wies, Thomas
•
Kuncak, Viktor
•
Lam, Patrick
•
Podelski, Andreas
•
Rinard, Martin
Date Issued
November 3, 2005
Series/Report no.
Massachusetts Institute of Technology Computer Science and Artificial Intelligence Laboratory
Abstract
We introduce field constraint analysis, a new technique for verifying data structure invariants. A field constraint for a field is a formula specifying a set of objects to which the field can point. Field constraints enable the application of decidable logics to data structures which were originally beyond the scope of these logics, by verifying the backbone of the data structure and then verifying constraints on fields that cross-cut the backbone in arbitrary ways. Previously, such cross-cutting fields could only be verified when they were uniquely determined by the backbone, which significantly limited the range of analyzable data structures. Our field constraint analysis permits \\emph{non-deterministic} field constraints on cross-cutting fields, which allows to verify invariants of data structures such as skip lists. Non-deterministic field constraints also enable the verification of invariants between data structures, yielding an expressive generalization of static type declarations. The generality of our field constraints requires new techniques, which are orthogonal to the traditional use of structure simulation. We present one such technique and prove its soundness. We have implemented this technique as part of a symbolic shape analysis deployed in the context of the Hob system for verifying data structure consistency. Using this implementation we were able to verify data structures that were previously beyond the reach of similar techniques.
Persistent DSpace Link
http://hdl.handle.net/1721.1/30582
Repository logo
PrivacyPermissionsAccessibilityContact us
Repository logo
Notify us about copyright concerns.