--- layout: fc_discuss_archives title: Message 16 from Frama-C-discuss on December 2018 ---
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Frama-c-discuss] WP: Checking for invalid preconditions



-- COK David (2018-12-18)
> To answer Yannick, In OpenJML
> 1) You can add a check manually by inserting '//@ reachable;' in the body of a method.
> 2) With command-line options you can check lots of different places: after preconditions (before function body), just before explicit asserts, just after explicit assumes, at the exit of the method, at the beginning of branches, at each return/throw point etc.

Interesting. Which ones did you find to be the most effective at detecting problems?
--
Yannick Moy, Senior Software Engineer, AdaCore




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gforge.inria.fr/pipermail/frama-c-discuss/attachments/20181218/28aabfcb/attachment.html>