42
views
0
recommends
+1 Recommend
0 collections
    0
    shares
      • Record: found
      • Abstract: found
      • Article: found
      Is Open Access

      Compositional Verification of Heap-Manipulating Programs through Property-Guided Learning

      Preprint
      , ,

      Read this article at

      Bookmark
          There is no author summary for this article yet. Authors can add summaries to their articles on ScienceOpen to make them more accessible to a non-specialist audience.

          Abstract

          Analyzing and verifying heap-manipulating programs automatically is challenging. A key for fighting the complexity is to develop compositional methods. For instance, many existing verifiers for heap-manipulating programs require user-provided specification for each function in the program in order to decompose the verification problem. The requirement, however, often hinders the users from applying such tools. To overcome the issue, we propose to automatically learn heap-related program invariants in a property-guided way for each function call. The invariants are learned based on the memory graphs observed during test execution and improved through memory graph mutation. We implemented a prototype of our approach and integrated it with two existing program verifiers. The experimental results show that our approach enhances existing verifiers effectively in automatically verifying complex heap-manipulating programs with multiple function calls.

          Related collections

          Most cited references22

          • Record: found
          • Abstract: not found
          • Conference Proceedings: not found

          Separation logic: a logic for shared mutable data structures

            Bookmark
            • Record: found
            • Abstract: not found
            • Article: not found

            The octagon abstract domain

              Bookmark
              • Record: found
              • Abstract: not found
              • Article: not found

              Automated verification of shape, size and bag properties via user-defined predicates in separation logic

                Bookmark

                Author and article information

                Journal
                27 August 2019
                Article
                1908.10051
                a5e4eb1f-d70f-4470-bdc6-c6880c216e0b

                http://arxiv.org/licenses/nonexclusive-distrib/1.0/

                History
                Custom metadata
                cs.PL

                Programming languages
                Programming languages

                Comments

                Comment on this article