Compositional Verification of Heap-Manipulating Programs through Property-Guided Learning
Long H. Pham, Jun Sun, and Quang Loc Le

TL;DR
This paper introduces a property-guided learning approach to automatically infer heap-related invariants, enhancing the compositional verification of heap-manipulating programs without requiring extensive user specifications.
Contribution
It presents a novel method for automatically learning invariants based on memory graphs, improving the automation and effectiveness of existing heap program verifiers.
Findings
Enhances existing verifiers for complex heap programs
Automatically learns invariants from memory graphs during testing
Improves verification success rate without user-provided specifications
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…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
