Loop Invariant Synthesis in a Combined Domain [chapter]

Shengchao Qin, Guanhua He, Chenguang Luo, Wei-Ngan Chin
2010 Lecture Notes in Computer Science  
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, which can be tedious and error-prone and can significantly restrict the scalability of the verification system. In this paper, we reduce the need of user annotations by
more » ... tically inferring loop invariants over an abstract domain with both separation and numerical information. Our loop invariant synthesis is conducted automatically by a fixpoint iteration process, equipped with newly designed abstraction mechanism, and join and widening operators. Initial experiments have confirmed that we can synthesise loop invariants with non-trivial constraints.
doi:10.1007/978-3-642-16901-4_31 fatcat:3w26umevt5hmtgw2upywrbukiy