Frama-C:
Plug-ins:
Libraries:

Frama-C API - Cvalue_backward

Abstract reductions on Cvalue.V.t

See Abstract_value for details about backward operations.

This function tries to reduce the argument values of a binary operation, given its result. typ_res is a type of res_value, and typ_e1 the type of v1.

This function tries to reduce the argument value of an unary operation, given its result. typ_arg is the type of arg.

This function tries to reduce the argument of a cast, given the result of the cast. src_typ is the type of src_val, dst_typ the type of the cast and of dst_val. Returning None means that not reduction was possible. Remember that the engine will intersect the result with src_val, no need to do this ourself.