Frama-C API - HCE
Datatype + utilities functions for hashconsed exprsessions.
include Frama_c_kernel.Datatype.S_with_collections
include Frama_c_kernel.Datatype.S
include Frama_c_kernel.Datatype.S_no_copy
val datatype_descr : t Frama_c_kernel.Descr.tDatatype descriptor.
val packed_descr : Frama_c_kernel.Structural_descr.packPacked version of the descriptor.
val reprs : t listList of representants of the descriptor.
val hash : t -> intHash function: same spec than Hashtbl.hash.
val pretty : Stdlib.Format.formatter -> t -> unitPretty print each value in an user-friendly way.
val mem_project : (Frama_c_kernel.Project_skeleton.t -> bool) -> t -> boolmem_project f x must return true iff there is a value p of type Project.t in x such that f p returns true.
module Set : Frama_c_kernel.Datatype.Set with type elt = tmodule Map : Frama_c_kernel.Datatype.Map with type key = tmodule Hashtbl : Frama_c_kernel.Datatype.Hashtbl with type key = tval self : Frama_c_kernel.State.tval id : t -> intConversions between type t and Cil lvalues and expressions.
val of_lval : Eva_ast.lval -> tval of_exp : Eva_ast.exp -> tval get : t -> unhashconsed_exprsval to_exp : t -> Eva_ast.expval to_lval : t -> Eva_ast.lval optionval is_lval : t -> boolval type_of : t -> Frama_c_kernel.Cil_types.typval replace : kill_type -> late:Eva_ast.lval -> heir:Eva_ast.exp -> t -> tReplaces all occurrences of the lvalue late by the expression heir.
