Skip to content
Snippets Groups Projects
Commit b62c4e33 authored by David Bühler's avatar David Bühler
Browse files

[Inout] Records Inout results on all function calls for Eva.

Eva relies on the inout plugin to ensure that a function call has not modified
the values of its concrete arguments, meaning that at the end of the call, the
values of formal parameters can be backward propagated to the corresponding
concrete arguments. This is useful when the values of some parameters have been
reduced by the call, for instance by some preconditions.

To this end, Eva uses the Inout callback Record_Inout_Callbacks from Db, but
this callback was only applied by Inout for functions whose body is analyzed.

This commit modifies Inout to also record its result through this callback
on functions interpreted by a builtin or a specification, thus allowing a
precise backward propagation of the values of formal parameters to concrete
arguments in all cases.
parent 42cd5170
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment