• DocumentCode
    3108275
  • Title

    Automated Verification of Shape, Size and Bag Properties

  • Author

    Chin, Wei-Ngan ; David, Cristina ; Nguyen, Huu Hai ; Qin, Shengchao

  • Author_Institution
    Nat. Univ. of Singapore, Singapore
  • fYear
    2007
  • fDate
    11-14 July 2007
  • Firstpage
    307
  • Lastpage
    320
  • Abstract
    In recent years, separation logic has emerged as a contender for formal reasoning of heap-manipulating imperative programs. Recent works have focused on specialised provers that are mostly based on fixed sets of predicates. To improve expressivity, we have proposed a prover that can automatically handle user-defined predicates. These shape predicates allow programmers to describe a wide range of data structures with their associated size properties. In the current work, we shall enhance this prover by providing support for a new type of constraints, namely bag (multi-set) constraints. With this extension, we can capture the reachable nodes (or values) inside a heap predicate as a bag constraint. Consequently, we are able to prove properties about the actual values stored inside a data structure.
  • Keywords
    data structures; formal verification; reasoning about programs; theorem proving; automated verification; bag constraint; data structure; formal reasoning; heap-manipulating imperative program; multi-set constraint; separation logic; shape predicates; specialised prover; user-defined predicates handling; Computer science; Data structures; Hydrogen; Logic; Mechanical factors; Programming profession; Shape; Sorting; Tail; Tree data structures;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Engineering Complex Computer Systems, 2007. 12th IEEE International Conference on
  • Conference_Location
    Auckland
  • Print_ISBN
    0-7695-2895-3
  • Type

    conf

  • DOI
    10.1109/ICECCS.2007.17
  • Filename
    4276328