Loop invariant synthesis in a combined abstract domain

  • Authors:
  • Shengchao Qin;Guanhua He;Chenguang Luo;Wei-Ngan Chin;Xin Chen

  • Affiliations:
  • School of Computing, Teesside University, Middlesbrough, TS1 3BA, UK and College of Computer Science, Beijing University of Technology, China and State Key Lab. for Novel Software Technology, Nanj ...;School of Computing, Teesside University, Middlesbrough, TS1 3BA, UK;School of Computing, Teesside University, Middlesbrough, TS1 3BA, UK;School of Computing, National University of Singapore, Singapore;State Key Lab. for Novel Software Technology, Nanjing University, China

  • Venue:
  • Journal of Symbolic Computation
  • Year:
  • 2013

Quantified Score

Hi-index 0.00

Visualization

Abstract

Automated verification of memory safety and functional correctness for heap-manipulating programs has been a challenging task, especially when dealing with complex data structures with strong invariants involving both shape and numerical properties. Existing verification systems usually rely on users to supply annotations to guide the verification, which can be cumbersome and error-prone by hand and can significantly restrict the usability of the verification system. In this paper, we reduce the need for some user annotations by automatically inferring loop invariants over an abstract domain with both shape and numerical information. Our loop invariant synthesis is conducted automatically by a fixed-point iteration process, equipped with newly designed abstraction mechanism, together with join and widening operators over the combined domain. We have also proven the soundness and termination of our approach. Initial experiments confirm that we can synthesise loop invariants with non-trivial constraints.