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] Frama-c, the best way to prove reachability/non reachablility of an error-state.


  • Subject: [Frama-c-discuss] Frama-c, the best way to prove reachability/non reachablility of an error-state.
  • From: loefflju at informatik.uni-freiburg.de (Julian Löffler)
  • Date: Wed, 27 Sep 2017 14:27:02 +0200

Greetings,

Consider the following program:

#include <math.h>
int main() {
   float x = NAN;
   if (!isnan(x)) {
     some_error();
   }
}

Where "some_error()" shall represent an error-state.

Questions:
- Which plugin should be used to prove/show that "some_error()" is not 
reachable ? How would a call of frama-c look like, to do so ?
- Which plugins do support NAN/INFINITY?

Thanks in advance and kind regards,
Julian