Frama-C-discuss mailing list archives

This page gathers the archives of the old Frama-C-discuss archives, that was hosted by Inria's gforge before its demise at the end of 2020. To search for mails newer than September 2020, please visit the page of the new mailing list on Renater.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Frama-c-discuss] multiple behaviors in statement contracts



2014-02-20 16:41 GMT+01:00 Jobredeaux, Romain J <jobredeaux at gatech.edu>:
> Thanks for your reply Virgile,
>
> Indeed the syntax you suggest is valid, however, like you said, it looks like the assumptions and requirements on the nominal behavior, given in the function contract, are not available for the proof of the local contract :/. I am using WP -> Why3 -> PVS. Is that a 'bug'/not-yet-implemented-functionality of WP?
>

Indeed, this feature is not implemented (patches welcome). A crude
work-around would be a small visitor that would propagate all assumes
and requires of behavior nominal into the statement contract under a
big \at(...,Pre). Rather ugly, but probably easier than to dive into
WP's internals.

Best regards,
-- 
E tutto per oggi, a la prossima volta
Virgile