I would like to generate all the preconditions generated by Frama-C which are stored in a table according to the calculus.ml code. I am mainly interested to get the initial predicate which is converted to logic formula and sent to the solvers. Can this be done? Please help me to print the initial predicate which is sent to the solvers. The code I am trying with is given below:
int main()
{
int x=42,y=40;
if(x<50)
{
x=x+2; y=x-y;
}
else
{
x=x-2; y=x-y;
}
//@ assert P: y>0;
}