When using a model object, I call func_decl get_func_decl (unsigned i)
to get the value assigned to a certain function (variable). The problem I am having is taking the output of that (which is a func_decl
) and converting it to int
.
For example, if the model is {x |-> 4, y |-> 12, z |-> 6}
, I would like to get the actual int
values of those 3 variables (4
, 12
and 6
).