Frama-C API - S
include sig ... end
val of_ltyp : Cil_types.logic_type -> (unit, unit) typval integer : (unit, unit) typval real : (unit, unit) typval of_ctyp : Cil_types.typ -> ('v, 'v) typval void : ('v, 'v) typval bool : ('v, 'v) typval char : ('v, 'v) typval schar : ('v, 'v) typval uchar : ('v, 'v) typval int : ('v, 'v) typval uint : ('v, 'v) typval short : ('v, 'v) typval ushort : ('v, 'v) typval long : ('v, 'v) typval ulong : ('v, 'v) typval longlong : ('v, 'v) typval ulonglong : ('v, 'v) typval float : ('v, 'v) typval double : ('v, 'v) typval longdouble : ('v, 'v) typval structure : Cil_types.compinfo -> (Cil_types.fieldinfo -> 'a -> 'v) -> ('v, 'a) typval attribute : ('v, 's) typ -> string -> Cil_types.attrparam list -> ('v, 's) typval cil_typ : ('v, 's) typ -> Cil_types.typval cil_logic_type : ('v, 's) typ -> Cil_types.logic_typeval here : labelval old : labelval pre : labelval post : labelval loop_entry : labelval loop_current : labelval program_init : labelval of_int : int -> [> const ]val of_cint : ?kind:Cil_types.ikind -> Z.t -> [> const ]val of_cfloat : ?kind:Cil_types.fkind -> float -> [> const ]val of_constant : Cil_types.constant -> [> const ]val zero : [> const ]val one : [> const ]val var : Cil_types.varinfo -> [> var ]val of_lhost : Cil_types.lhost -> [> lhost ]val of_lval : Cil_types.lval -> [> lval ]val of_exp : Cil_types.exp -> [> exp ]val of_exp_copy : Cil_types.exp -> [> exp ]val of_exp_list : Cil_types.exp list -> [> exp ] listval unop : Cil_types.unop -> [< exp ] -> [> exp ]val binop : Cil_types.binop -> [< exp ] -> [< exp ] -> [> exp ]val cast' : Cil_types.typ -> [< exp ] -> [> exp ]val field : [< lval ] -> Cil_types.fieldinfo -> [> lval ]val result : [> lval ]val term : Cil_types.term -> [> exp ]val whole : [> exp ]val whole_right : [> exp ]val app : Cil_types.logic_info -> label list -> [< exp ] list -> [> exp ]val of_init : Cil_types.init -> [> init ]val compound : Cil_types.typ -> init list -> [> init ]exception LogicInC of expexception CInLogic of expexception NotATerm of expexception NotAPredicate of expexception NotAFunction of Cil_types.logic_infoval cil_logic_label : label -> Cil_types.logic_labelval cil_constant : [< const ] -> Cil_types.constantval cil_varinfo : [< var ] -> Cil_types.varinfoval cil_lhost : loc:Cil_types.location -> [< lhost ] -> Cil_types.lhostval cil_lval : loc:Cil_types.location -> [< lval ] -> Cil_types.lvalval cil_exp : loc:Cil_types.location -> [< exp ] -> Cil_types.expval cil_term_lval : loc:Cil_types.location -> ?restyp:Cil_types.typ -> [< lval ] -> Cil_types.term_lvalval cil_term_lhost : loc:Cil_types.location -> ?restyp:Cil_types.typ -> [< lhost ] -> Cil_types.term_lhostval cil_term : loc:Cil_types.location -> ?restyp:Cil_types.typ -> [< exp ] -> Cil_types.termval cil_iterm : loc:Cil_types.location -> ?restyp:Cil_types.typ -> [< exp ] -> Cil_types.identified_termval cil_pred : loc:Cil_types.location -> ?restyp:Cil_types.typ -> [< exp ] -> Cil_types.predicateval cil_ipred : loc:Cil_types.location -> ?restyp:Cil_types.typ -> [< exp ] -> Cil_types.identified_predicateval cil_init : loc:Cil_types.location -> [< init ] -> Cil_types.initval cil_typeof : [< var ] -> Cil_types.typval open_function : ?loc:Cil_types.location -> ?ghost:bool -> ?vorig_name:string -> string -> [> var ]val set_return_type : ('s, 'v) typ -> unitval set_return_type' : Cil_types.typ -> unitval add_attribute : Cil_types.attribute -> unitval add_new_attribute : string -> Cil_types.attrparam list -> unitval requires : [< exp ] -> unitval ensures : [< exp ] -> unitval of_stmtkind : Cil_types.stmtkind -> unitval of_stmt : Cil_types.stmt -> unitval of_stmts : Cil_types.stmt list -> unitval open_block : ?loc:Cil_types.location -> ?into:Cil_types.fundec -> ?ghost:bool -> unit -> unitval open_ghost : ?loc:Cil_types.location -> ?into:Cil_types.fundec -> unit -> unitval open_switch : ?loc:Cil_types.location -> ?into:Cil_types.fundec -> [< exp ] -> unitval open_if : ?loc:Cil_types.location -> ?into:Cil_types.fundec -> [< exp ] -> unitval finish_block : unit -> Cil_types.blockval finish_instr_list : ?scope:Cil_types.block -> unit -> Cil_types.instr listval finish_stmt : unit -> Cil_types.stmtval case : [< exp ] -> unitval local' : ?ghost:bool -> ?init:init -> Cil_types.typ -> string -> [> var ]val parameter : ?ghost:bool -> ?attributes:Cil_types.attributes -> Cil_types.typ -> string -> [> var ]val of_instr : Cil_types.instr -> unitval incr : [< lval ] -> unitval call : [< `lhost of lhost' | `lval of lval' | `none | `var of var' ] -> Cil_types.kernel_function -> [< exp ] list -> unitval pure : [< exp ] -> unitval loc : Cil_types.locationStart the translation of the call. Call this before declaring variables or inserting statements.
