TY - GEN
T1 - Towards complete specifications with an error calculus
AU - Le, Quang Loc
AU - Sharma, Asankhaya
AU - Craciun, Florin
AU - Chin, Wei Ngan
PY - 2013/9/9
Y1 - 2013/9/9
N2 - We present an error calculus to support a novel specification mechanism for sound and/or complete safety properties that are to be given by users. With such specifications, our calculus can form a foundation for both proving program safety and/or discovering real bugs. The basis of our calculus is an algebra with a lattice domain of four abstract statuses (namely unreachability, validity, must-error and may-error) on possible program states and four operators for this domain to calculate suitable program status.We show how proof search and error localization can be supported by our calculus. Our calculus can also be extended to separation logic with support for user-defined predicates and lemmas.We have implemented our calculus in an automated verification tool for pointer-based programs. Initial experiments have confirmed that it can achieve the dual objectives, namely of safety proving and bug finding, with modest overheads.
AB - We present an error calculus to support a novel specification mechanism for sound and/or complete safety properties that are to be given by users. With such specifications, our calculus can form a foundation for both proving program safety and/or discovering real bugs. The basis of our calculus is an algebra with a lattice domain of four abstract statuses (namely unreachability, validity, must-error and may-error) on possible program states and four operators for this domain to calculate suitable program status.We show how proof search and error localization can be supported by our calculus. Our calculus can also be extended to separation logic with support for user-defined predicates and lemmas.We have implemented our calculus in an automated verification tool for pointer-based programs. Initial experiments have confirmed that it can achieve the dual objectives, namely of safety proving and bug finding, with modest overheads.
UR - http://www.scopus.com/inward/record.url?scp=84883335630&partnerID=8YFLogxK
U2 - 10.1007/978-3-642-38088-4_20
DO - 10.1007/978-3-642-38088-4_20
M3 - Conference contribution
AN - SCOPUS:84883335630
SN - 9783642380877
T3 - Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
SP - 291
EP - 306
BT - NASA Formal Methods - 5th International Symposium, NFM 2013, Proceedings
T2 - 5th International Symposium on NASA Formal Methods
Y2 - 14 May 2013 through 16 May 2013
ER -