Frama-C API - Datascope
val get_data_scope_at_stmt : Frama_c_kernel.Kernel_function.t -> Frama_c_kernel.Cil_types.stmt -> Frama_c_kernel.Cil_types.lval -> Frama_c_kernel.Cil_datatype.Stmt.Hptset.t * (Frama_c_kernel.Cil_datatype.Stmt.Hptset.t * Frama_c_kernel.Cil_datatype.Stmt.Hptset.t)
val get_prop_scope_at_stmt : Frama_c_kernel.Cil_types.kernel_function -> Frama_c_kernel.Cil_types.stmt -> Frama_c_kernel.Cil_types.code_annotation -> Frama_c_kernel.Cil_datatype.Stmt.Hptset.t * Frama_c_kernel.Cil_types.code_annotation list
compute the set of statements where the given annotation has the same value as before the given stmt. Also returns the eventual code annotations that are implied by the one given as argument.
val check_asserts : unit -> Frama_c_kernel.Cil_types.code_annotation list
Print how many assertions could be removed based on the previous analysis (get_prop_scope_at_stmt
) and return the annotations that can be removed.
module R : Frama_c_kernel.Plugin.General_services
for internal use