module type CodeSemantics =sig..end
module M:Wp.Sigs.Model
typeloc =M.loc
typevalue =loc Wp.Sigs.value
typeresult =loc Wp.Sigs.result
typesigma =M.Sigma.t
val pp_value : Format.formatter -> value -> unit
val cval : value -> Wp.Lang.F.termM.pointer_val.val cloc : value -> locM.pointer_loc.val cast : Cil_types.typ ->
Cil_types.typ -> value -> value
cast tr te ve transforms a value ve with type te into a value
with type tr.
val equal_typ : Cil_types.typ ->
value -> value -> Wp.Lang.F.pred(a==b) provided both a and b are values
with the given type.val not_equal_typ : Cil_types.typ ->
value -> value -> Wp.Lang.F.pred(a==b) provided both a and b are values
with the given type.val equal_obj : Wp.Ctypes.c_object ->
value -> value -> Wp.Lang.F.predequal_typ with an object type.val not_equal_obj : Wp.Ctypes.c_object ->
value -> value -> Wp.Lang.F.prednot_equal_typ with an object type.val exp : sigma -> Cil_types.exp -> valueval cond : sigma -> Cil_types.exp -> Wp.Lang.F.predval lval : sigma -> Cil_types.lval -> locval call : sigma -> Cil_types.exp -> locAddrOf, StartOf and Lval as usual.val instance_of : loc -> Cil_types.kernel_function -> Wp.Lang.F.predval loc_of_exp : sigma -> Cil_types.exp -> locM.pointer_val.val val_of_exp : sigma -> Cil_types.exp -> Wp.Lang.F.termM.pointer_loc.val result : sigma ->
Cil_types.typ -> result -> Wp.Lang.F.termval return : sigma ->
Cil_types.typ -> Cil_types.exp -> Wp.Lang.F.termval is_zero : sigma ->
Wp.Ctypes.c_object -> loc -> Wp.Lang.F.predval is_exp_range : sigma ->
loc ->
Wp.Ctypes.c_object ->
Wp.Lang.F.term ->
Wp.Lang.F.term -> value option -> Wp.Lang.F.pred
More precisely, is_exp_range sigma loc ty a b v express that
value at ( ty* )loc + k equals v, forall a <= k < b.
Value v=None stands for zero.
val unchanged : M.sigma -> M.sigma -> Cil_types.varinfo -> Wp.Lang.F.predtypewarned_hyp =Wp.Warning.Set.t * Wp.Lang.F.pred
val init : sigma:M.sigma ->
Cil_types.varinfo ->
Cil_types.init option -> warned_hyp list
Remark: None initializer are interpreted as zeroes. This is consistent
with the init option associated with global variables in CIL,
for which the default initializer are zeroes. There is no
init option value associated with local initializers.