Computer Science · Artificial Intelligence
Union and Cast in Deductive Verification ⋆
Yannick Moy, Inria Futurs, Parc Orsay Université
See on the mapAbstract
Abstract. Deductive verification based on weakest-precondition calculus has proved effective at proving imperative programs, through a suitable encoding of memory as functional arrays (a.k.a. the Burstall-Bornat model). Unfortunately, this encoding of memory makes it impossible to support features like union and cast in C. We show that an interesting subset of those unions and casts can be encoded as structure subtyping, on which it is possible to extend the Burstall-Bornat encoding. We present an automatic translation from C to an intermediate language Jessie on which this extended interpretation is performed. 1