module Misc:sig
..end
exception Unregistered_library_function of string
val get_lib_fun_vi : string -> Cil_types.varinfo
val result_lhost : Cil_types.kernel_function -> Cil_types.lhost
val result_vi : Cil_types.kernel_function -> Cil_types.varinfo
val library_files : unit -> Datatype.Filepath.t list
val is_library_loc : Cil_types.location -> bool
val register_library_function : Cil_types.varinfo -> unit
val reset : unit -> unit
val is_fc_or_compiler_builtin : Cil_types.varinfo -> bool
val term_addr_of : loc:Cil_types.location ->
Cil_types.term_lval -> Cil_types.typ -> Cil_types.term
val reorder_ast : unit -> unit
val cty : Cil_types.logic_type -> Cil_types.typ
val ptr_index : ?loc:Cil_types.location ->
?index:Cil_types.exp -> Cil_types.exp -> Cil_types.exp * Cil_types.exp
val term_of_li : Cil_types.logic_info -> Cil_types.term
term_of_li li
assumes that li.l_body
matches LBterm t
and returns t
.val is_set_of_ptr_or_array : Cil_types.logic_type -> bool
val is_range_free : Cil_types.term -> bool
val is_bitfield_pointers : Cil_types.logic_type -> bool
val term_has_lv_from_vi : Cil_types.term -> bool
type
pred_or_term =
| |
PoT_pred of |
| |
PoT_term of |
val mk_ptr_sizeof : Cil_types.typ -> Cil_types.location -> Cil_types.exp
mk_ptr_sizeof ptr_typ loc
takes the pointer typ ptr_typ
that points
to a typ
typ and returns sizeof(typ)
.val name_of_binop : Cil_types.binop -> string
val finite_min_and_max : Ival.t -> Integer.t * Integer.t
finite_min_and_max i
takes the finite ival i
and returns its bounds.module Id_term:Datatype.S_with_collections
with type t = term