Module Builtins


module Builtins: sig .. end

val table : (string,
Db.Value.state ->
(Cil_types.exp * Db.Value.t * Cvalue_type.V_Offsetmap.t) list ->
Cvalue_type.V_Offsetmap.t option * Db.Value.state *
Locations.Location_Bits.Top_Param.t)
Hashtbl.t
val register_builtin : string ->
(Db.Value.state ->
(Cil_types.exp * Db.Value.t * Cvalue_type.V_Offsetmap.t) list ->
Cvalue_type.V_Offsetmap.t option * Db.Value.state *
Locations.Location_Bits.Top_Param.t) ->
unit
val find_builtin : string ->
Db.Value.state ->
(Cil_types.exp * Db.Value.t * Cvalue_type.V_Offsetmap.t) list ->
Cvalue_type.V_Offsetmap.t option * Db.Value.state *
Locations.Location_Bits.Top_Param.t
val mem_builtin : string -> bool
val offsetmap_of_value : typ:Cil_types.typ -> Cvalue_type.V.t -> Cvalue_type.V_Offsetmap.t
val wrap_int : Cvalue_type.V.t -> Cvalue_type.V_Offsetmap.t option
val wrap_ptr : Cvalue_type.V.t -> Cvalue_type.V_Offsetmap.t option
val wrap_double : Cvalue_type.V.t -> Cvalue_type.V_Offsetmap.t option
exception Found_misaligned_base
val frama_C_cos : 'a ->
('b * Cvalue_type.V.t * 'c) list ->
Cvalue_type.V_Offsetmap.t option * 'a * Locations.Location_Bits.Top_Param.t
val frama_C_sqrt : 'a ->
('b * Cvalue_type.V.t * 'c) list ->
Cvalue_type.V_Offsetmap.t option * 'a * Locations.Location_Bits.Top_Param.t
exception Base_aligned_error
val frama_C_is_base_aligned : 'a ->
('b * Cvalue_type.V.t * 'c) list ->
Cvalue_type.V_Offsetmap.t option * 'a * Locations.Location_Bits.Top_Param.t
exception Offset_error
val frama_c_offset : 'a ->
('b * Locations.Location_Bytes.t * 'c) list ->
Cvalue_type.V_Offsetmap.t option * 'a * Locations.Location_Bits.Top_Param.t
exception Invalid_CEA_alloc_infinite
exception Not_found_lonely_key
module Dynamic_Alloc_Table: State_builder.Hashtbl(Datatype.String.Hashtbl)(Locations.Location_Bytes)(sig
val dependencies : State.t list
val size : int
val name : string
val kind : [> `Internal ]
end)
val frama_c_alloc_infinite : 'a ->
('b * Cvalue_type.V.t * 'c) list ->
Cvalue_type.V_Offsetmap.t option * 'a * Locations.Location_Bits.Top_Param.t
val frama_c_memcpy : Relations_type.Model.t ->
(Cil_types.exp * Cvalue_type.V.z * 'a) list ->
'b option * Relations_type.Model.t * Locations.Location_Bits.Top_Param.t