Formal Verification of kLIBC with the WP Frama-C plug-in

Citation:
Carvalho N, Sousa CS, Pinto JS, Tomb A.  2014.  Formal Verification of kLIBC with the WP Frama-C plug-in. Proceedings of the 6th NASA Formal Methods Symposium .

Tertiary Title:

Lecture Notes in Computer Science

Date Presented:

April

Abstract:

This paper presents our results in the formal verification of kLIBC, a minimalistic C library, using the Frama-C/WP tool. We report how we were able to completely verify a significant number of func- tions from and . We discuss difficulties encoun- tered and describe in detail a problem in the implementation of common functions, for which we suggest alternative implementations. Our work shows that it is presently already viable to verify low-level C code, with heavy usage of pointers. Although the properties proved tend to be shallower as the code becomes of a lower-level nature, it is our view that this is an important direction towards real-world software verifica- tion, which cannot be attained by focusing on deep properties of cleaner code, written specifically to be verified.

Citation Key:

PintoJS:dedvcsforvklibc

DOI:

10.1007/978-3-319-06200-6_29

PreviewAttachmentSize
2014_nfm_14_a.pdf435.14 KB