A Logic of Reachable Patterns in Linked Data-Structures

Computer Science – Logic in Computer Science

Scientific paper

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

Scientific paper

10.1007/11690634_7

We define a new decidable logic for expressing and checking invariants of programs that manipulate dynamically-allocated objects via pointers and destructive pointer updates. The main feature of this logic is the ability to limit the neighborhood of a node that is reachable via a regular expression from a designated node. The logic is closed under boolean operations (entailment, negation) and has a finite model property. The key technical result is the proof of decidability. We show how to express precondition, postconditions, and loop invariants for some interesting programs. It is also possible to express properties such as disjointness of data-structures, and low-level heap mutations. Moreover, our logic can express properties of arbitrary data-structures and of an arbitrary number of pointer fields. The latter provides a way to naturally specify postconditions that relate the fields on entry to a procedure to the fields on exit. Therefore, it is possible to use the logic to automatically prove partial correctness of programs performing low-level heap mutations.

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

A Logic of Reachable Patterns in Linked Data-Structures 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 A Logic of Reachable Patterns in Linked Data-Structures, we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and A Logic of Reachable Patterns in Linked Data-Structures will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFWR-SCP-O-606388

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