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] Plugin development >> Going through loops twice.


  • Subject: [Frama-c-discuss] Plugin development >> Going through loops twice.
  • From: uaz11 at yahoo.fr (zakaria chihani)
  • Date: Wed, 8 Jun 2011 01:48:31 +0100 (BST)

Hello everyone,

I still am working on the CerCo plugin, and while treating loops, something odd happens.

Trying to add a simple annotation (e.g assert true)? on top of every loop, the assertion is doubled.

?i = (unsigned char )0;
? /*@ assert \true; */
? /*@ assert \true; */
? while ((int )i < 17) {...

I can't figure out where it comes from, so here's what the program does:

Override vspec.