Module Common


module Common: sig .. end

exception NotImplemented of string
exception Unsupported of string
val fatal : ('a, Format.formatter, unit, 'b) Pervasives.format4 -> 'a
val notimplemented : ('a, Format.formatter, unit, 'b) Pervasives.format4 -> 'a
val unsupported : ('a, Format.formatter, unit, 'b) Pervasives.format4 -> 'a
val warning : ('a, Format.formatter, unit) Pervasives.format -> 'a
val warn_general : ('a, Format.formatter, unit) Pervasives.format -> 'a
val flatten_multi_dim_array : bool Pervasives.ref
val is_unknown_location : Lexing.position * 'a -> bool
val almost_integer_type : Cil_types.typ
val struct_type_for_void : Cil_types.typ Pervasives.ref
val app_term_type : (Cil_types.typ -> 'a) -> 'a -> Cil_types.logic_type -> 'a
val force_app_term_type : (Cil_types.typ -> 'a) -> Cil_types.logic_type -> 'a
val get_unique_field : Cil_types.typ -> Cil_types.fieldinfo
val get_struct_name : Cil_types.typ -> string
val get_struct_info : Cil_types.typ -> Cil_types.compinfo
val size_in_bytes : Cil_types.ikind -> int
val integral_type_size_in_bytes : Cil_types.typ -> int
val integral_type_size_in_bits : Cil_types.typ -> int
val min_value_of_integral_type : ?bitsize:int -> Cil_types.typ -> Big_int.big_int
val max_value_of_integral_type : ?bitsize:int -> Cil_types.typ -> Big_int.big_int
val all_integral_types : (string, Cil_types.typ * int) Hashtbl.t
val name_of_integral_type : ?bitsize:int -> Cil_types.typ -> string
val arraylen_attr_name : string
val mkTRef : Cil_types.typ -> Cil_types.typ
val mkTRefArray : Cil_types.typ * Cil_types.exp * Cil_types.attributes -> Cil_types.typ
val reference_size : Cil_types.typ -> int64
val is_reference_type : Cil_types.typ -> bool
val is_array_reference_type : Cil_types.typ -> bool
val reference_of_array : Cil_types.typ -> Cil_types.typ
val mkStructEmpty : string -> Cil_types.compinfo
val mkStructSingleton : ?padding:int -> string -> string -> Cil_types.typ -> Cil_types.compinfo
val bits_sizeof : Cil_types.typ -> int64
val name_of_valid_string : string
val name_of_valid_wstring : string
val name_of_strlen : string
val name_of_wcslen : string
val name_of_assert : string
val name_of_free : string
val name_of_malloc : string
val name_of_calloc : string
val name_of_realloc : string
val predefined_name : string list
val is_predefined_name : string -> bool
val is_assert_function : Cil_types.varinfo -> bool
val is_free_function : Cil_types.varinfo -> bool
val is_malloc_function : Cil_types.varinfo -> bool
val is_calloc_function : Cil_types.varinfo -> bool
val is_realloc_function : Cil_types.varinfo -> bool
val unique_name_generator : (string -> bool) -> (string -> string) * (string -> bool)
val unique_name_if_empty : string -> string
val jessie_reserved_names : string list
val reserved_name : string -> string
val reserved_logic_name : string -> string
val string_explode : string -> char list
val string_implode : char list -> string
val filter_alphanumeric : string -> (char * char) list -> char -> string
val type_name : Cil_types.typ -> string
val logic_type_name : Cil_types.logic_type -> string
val name_of_padding_type : string
val name_of_string_declspec : string
val name_of_hint_assertion : string
val name_of_safety_behavior : string
val name_of_default_behavior : string
val attach_detach_mode : bool Pervasives.ref
val globinits : Cil_types.stmt list Pervasives.ref
val globals : Cil_types.global list Pervasives.ref
val globactions : (unit -> unit) list Pervasives.ref
val attach_globinit : Cil_types.stmt -> unit
val attach_global : Cil_types.global -> unit
val attach_globaction : (unit -> unit) -> unit
val detach_globinits : Cil_types.file -> unit
val detach_globals : Cil_types.file -> unit
val detach_globactions : unit -> unit
val do_and_update_globals : (Cil_types.file -> 'a) -> Cil_types.file -> unit
val visit_and_update_globals : Visitor.frama_c_visitor -> Cil_types.file -> unit
val adding_statement_mode : bool Pervasives.ref
val pending_statements_at_beginning : Cil_types.stmt list Pervasives.ref
val pending_statements_at_end : Cil_types.stmt list Pervasives.ref
val add_pending_statement : beginning:bool -> Cil_types.stmt -> unit
val insert_pending_statements : Cil_types.fundec -> unit
class proxy_frama_c_visitor : Visitor.frama_c_visitor -> object .. end
val visit_and_push_statements_visitor : Visitor.frama_c_visitor -> proxy_frama_c_visitor
val visit_and_push_statements : (proxy_frama_c_visitor -> 'a -> 'b) ->
Visitor.frama_c_visitor -> 'a -> 'b
class trace_frama_c_visitor : Visitor.frama_c_visitor -> object .. end
val visit_and_trace_framac : (trace_frama_c_visitor -> 'a -> 'b) ->
Visitor.frama_c_visitor -> 'a -> 'b
val visit_and_trace_cil : (Cil.cilVisitor -> 'a -> 'b) -> Visitor.frama_c_visitor -> 'a -> 'b
val change : bool Pervasives.ref
val signal_change : unit -> unit
val visit_until_convergence : Visitor.frama_c_visitor -> Cil_types.file -> unit
val do_on_term_offset : (Cil_types.offset -> Cil_types.offset) option *
(Cil_types.offset -> Cil_types.offset) option ->
Cil_types.term_offset -> Cil_types.term_offset Cil.visitAction
val do_on_term_lval : (Cil_types.lval -> Cil_types.lval) option *
(Cil_types.lval -> Cil_types.lval) option ->
Cil_types.term_lval -> Cil_types.term_lval Cil.visitAction
val do_on_term : (Cil_types.exp -> Cil_types.exp) option *
(Cil_types.exp -> Cil_types.exp) option ->
Cil_types.term -> Cil_types.term Cil.visitAction
val checking : bool
val print_to_stdout : Cil_types.file -> unit
class checkTypes : object .. end
val check_types : Cil_types.file -> unit
class check_file : ( object
Inherits
val known_fields : Cilutil.FieldinfoHashtbl.key Cilutil.FieldinfoHashtbl.t
method vterm : Cil_types.term -> Cil_types.term Cil.visitAction
method voffs : Cil_types.offset -> Cil_types.offset Cil.visitAction
method vterm_offset : Cil_types.term_offset -> Cil_types.term_offset Cil.visitAction
method vinitoffs : Cil_types.offset -> Cil_types.offset Cil.visitAction
method vglob_aux : Cil_types.global -> Cil_types.global list Cil.visitAction
end : object ... end )
val is_base_addr : Cil_types.term -> bool
val mkStmt : Cil_types.stmtkind -> Cil_types.stmt
val mkterm : Cil_types.term_node ->
Cil_types.logic_type -> Lexing.position * Lexing.position -> Cil_types.term
val term_of_var : Cil_types.varinfo -> Cil_types.term
val mkpred : Cil_types.predicate -> Cil_types.location -> Cil_types.identified_predicate
val mkInfo : Cil_types.exp -> Cil_types.exp
val offset_list : Cil_types.offset -> Cil_types.offset list
val is_last_offset : Cil_types.offset -> bool
val lift_offset : Cil_types.typ -> Cil_types.offset -> Cil_types.offset
val change_idx : Cil_types.term -> Cil_types.term -> int64 -> Cil_types.term
val lift_toffset : Cil_types.typ -> Cil_types.term_offset -> Cil_types.term_offset
val malloc_function : unit -> Cil_types.varinfo
val free_function : unit -> Cil_types.varinfo
val mkalloc : Cil_types.varinfo -> Cil_types.typ -> Cil_types.location -> Cil_types.instr
val mkalloc_statement : Cil_types.varinfo -> Cil_types.typ -> Cil_types.location -> Cil_types.stmt
val mkalloc_array : Cil_types.varinfo ->
Cil_types.typ -> int64 -> Cil_types.location -> Cil_types.instr
val mkalloc_array_statement : Cil_types.varinfo ->
Cil_types.typ -> int64 -> Cil_types.location -> Cil_types.stmt
val mkfree : Cil_types.varinfo -> Cil_types.location -> Cil_types.instr
val mkfree_statement : Cil_types.varinfo -> Cil_types.location -> Cil_types.stmt