Frama-C API - Eva_utils
Others
val emitter : Frama_c_kernel.Emitter.tEmitter of alarms and logical statuses evaluated by the analysis.
val export_emitter : Frama_c_kernel.Emitter.tEmitter of code annotations stating the properties inferred by an analysis, intended for other plug-ins. Used by the Export module.
val get_slevel : Frama_c_kernel.Kernel_function.t -> Parameters.SlevelFunction.valueval get_subdivision : Frama_c_kernel.Cil_types.stmt -> intval pretty_actuals : Stdlib.Format.formatter -> (Eva_ast.exp * Frama_c_kernel.Cvalue.V.t) list -> unitprotect f ~cleanup runs f. On a user interruption or a Frama-C error, if option -save is set, applies cleanup. This is used to clean up and save partial results when the analysis is aborted.
module DegenerationPoints : Frama_c_kernel.State_builder.Hashtbl with type key = Frama_c_kernel.Cil_types.stmt and type data = boolval create_new_var : ?alignas:int -> string -> Frama_c_kernel.Cil_types.typ -> Frama_c_kernel.Cil_types.varinfoCreate and register a new variable inside Frama-C. The variable has its vlogic field set, meaning it is not a source variable. The freshness of the name must be ensured by the user.
val is_const_write_invalid : Frama_c_kernel.Cil_types.typ -> boolDetect that the type is const, and that option -global-const is set. In this case, we forbid writing in a l-value that has this type.
val find_return_var : Frama_c_kernel.Cil_types.kernel_function -> Frama_c_kernel.Cil_types.varinfo optionReturns the varinfo returned by the given function. Returns None if the function returns void or has no return statement.
val postconditions_mention_result : Frama_c_kernel.Cil_types.funspec -> boolDoes the post-conditions of this specification mention \result?
val conv_relation : Frama_c_kernel.Cil_types.relation -> Frama_c_kernel.Abstract_interp.Comp.tval lval_to_exp : Frama_c_kernel.Cil_types.lval -> Frama_c_kernel.Cil_types.expThis function is memoized to avoid creating too many expressions
val height_expr : Frama_c_kernel.Cil_types.exp -> intComputes the height of an expression, that is the maximum number of nested operations in this expression.
val height_lval : Frama_c_kernel.Cil_types.lval -> intComputes the height of an lvalue.
val skip_specifications : Frama_c_kernel.Cil_types.kernel_function -> boolShould we skip the specifications of this function, according to -eva-skip-stdlib-specs
