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] WP: Checking for invalid preconditions
- Subject: [Frama-c-discuss] WP: Checking for invalid preconditions
- From: moy at adacore.com (Yannick Moy)
- Date: Tue, 18 Dec 2018 13:59:07 +0100
- In-reply-to: <1DB23E1C78E0A3418D38356B91D1E7410B6A37AD@EXDAG0-A1.intra.cea.fr>
- References: <79b956f3-a70e-194e-57b6-477d1563de66@physik.tu-berlin.de> <1DB23E1C78E0A3418D38356B91D1E7410B6A374D@EXDAG0-A1.intra.cea.fr> <EF8A2C90-B0F9-4E6A-863A-C67EDC9BC161@adacore.com> <1DB23E1C78E0A3418D38356B91D1E7410B6A37AD@EXDAG0-A1.intra.cea.fr>
-- 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>
- References:
- [Frama-c-discuss] WP: Checking for invalid preconditions
- From: jaseg at physik.tu-berlin.de (Sebastian Götte)
- [Frama-c-discuss] WP: Checking for invalid preconditions
- From: David.COK at cea.fr (COK David)
- [Frama-c-discuss] WP: Checking for invalid preconditions
- From: moy at adacore.com (Yannick Moy)
- [Frama-c-discuss] WP: Checking for invalid preconditions
- From: David.COK at cea.fr (COK David)
- [Frama-c-discuss] WP: Checking for invalid preconditions
- Prev by Date: [Frama-c-discuss] WP: Checking for invalid preconditions
- Next by Date: [Frama-c-discuss] WP: Checking for invalid preconditions
- Previous by thread: [Frama-c-discuss] WP: Checking for invalid preconditions
- Next by thread: [Frama-c-discuss] WP: Checking for invalid preconditions
- Index(es):