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] [Values] patch to access the several states attached to a statement


  • Subject: [Frama-c-discuss] [Values] patch to access the several states attached to a statement
  • From: Pascal.CUOQ at cea.fr (CUOQ Pascal)
  • Date: Tue, 14 Jul 2009 09:31:26 +0200
  • References: <1247465927.3378.26.camel@residence.localdomain><5EFD4D7AC6265F4D9D3A849CEA9219191AB1E8@LAXA.intra.cea.fr><5EFD4D7AC6265F4D9D3A849CEA9219191AB1E9@LAXA.intra.cea.fr> <1247542240.3378.266.camel@residence.localdomain>

> However, since the code was identical in Lithium and actually worked, I
> wasn't sure it was the proper way to fix this.

Oops. I was the culprit then.
There was a technical limitation in Lithium 
(or a limitation in my understanding, anyway)
such that it wasn't possible to insert a hook
only if a certain option was set. Instead,
what was easy to do was to systematically insert
a hook that only did something if the
option was set. It was slightly less elegant,
but it worked.

This was fixed in Beryllium, and a consequence
is that while in Lithium 
"Db.Value.Record_Value_Callbacks" always returned
"true" because there was a hook that was called
everytime and everytime tested if the
option "-calldeps" was set, now it works properly
and may return false.

Pascal