Typestate Checking and Regular Graph Constraints

Computer Science – Programming Languages

Scientific paper

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

21 page. A version appeared in SAS 2003

Scientific paper

We introduce regular graph constraints and explore their decidability properties. The motivation for regular graph constraints is 1) type checking of changing types of objects in the presence of linked data structures, 2) shape analysis techniques, and 3) generalization of similar constraints over trees and grids. We define a subclass of graphs called heaps as an abstraction of the data structures that a program constructs during its execution. We prove that determining the validity of implication for regular graph constraints over the class of heaps is undecidable. We show undecidability by exhibiting a characterization of certain "corresponder graphs" in terms of presence and absence of homomorphisms to a finite number of fixed graphs. The undecidability of implication of regular graph constraints implies that there is no algorithm that will verify that procedure preconditions are met or that the invariants are maintained when these properties are expressed in any specification language at least as expressive as regular graph constraints.

No associations

LandOfFree

Say what you really think

Search LandOfFree.com for scientists and scientific papers. Rate them and share your experience with other people.

Rating

Typestate Checking and Regular Graph Constraints does not yet have a rating. At this time, there are no reviews or comments for this scientific paper.

If you have personal experience with Typestate Checking and Regular Graph Constraints, we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Typestate Checking and Regular Graph Constraints will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFWR-SCP-O-410125

  Search
All data on this website is collected from public sources. Our data reflects the most accurate information available at the time of publication.