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] Predicates fully supported in WP?


  • Subject: [Frama-c-discuss] Predicates fully supported in WP?
  • From: hollas at informatik.htw-dresden.de (Boris Hollas)
  • Date: Mon, 02 Jul 2012 15:41:40 +0200

Hello,

this code verifies with Jessie, but not with WP-0.5:

//@ predicate f2{O, H}(int r, int x) = \at(r,H) == \at(x,H)+1;

/*@ ensures f2{Old, Here}(\result, x);  */
int f2(int x)
{
  return x + 1;
}

Is the reason a lack of support of predicates in WP?
-- 
Best regards,
Boris