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] nondeterminism


  • Subject: [Frama-c-discuss] nondeterminism
  • From: siegel at udel.edu (Stephen Siegel)
  • Date: Sun, 15 Sep 2013 19:39:55 -0400

Does anyone know if Frama-C+Jessie or WP has been used to prove things about a program with nondeterministic choices, like

choose {
  when (guard1) -> do this;
  when (guard2) -> do that;
  ...
}

which means, choose one of the clauses for which the guard evaluates to true and execute that statement.

I guess you could obtain something like this using a function "chooseBool()" which returns a boolean and which is totally unconstrained, and use that as the condition in an "if" statement.  Or you could use a function "chooseInt()" with a switch statement.

Just wondering if anyone has done anything like that,

Thanks,
Steve