sig
type behavior_or_loop =
Id_behavior of Cil_types.funbehavior
| Id_code_annot of Cil_types.code_annotation
type identified_complete =
Cil_types.kernel_function * Cil_types.kinstr * string list
type identified_disjoint = Property.identified_complete
type identified_code_annotation =
Cil_types.kernel_function * Cil_types.stmt * Cil_types.code_annotation
type identified_assigns =
Cil_types.kernel_function * Cil_types.kinstr *
Property.behavior_or_loop *
Cil_types.identified_term Cil_types.from list
type identified_allocation =
Cil_types.kernel_function * Cil_types.kinstr *
Property.behavior_or_loop *
(Cil_types.identified_term list * Cil_types.identified_term list)
type identified_from =
Cil_types.kernel_function * Cil_types.kinstr *
Property.behavior_or_loop * Cil_types.identified_term Cil_types.from
type identified_decrease =
Cil_types.kernel_function * Cil_types.kinstr *
Cil_types.code_annotation option * Cil_types.term Cil_types.variant
type identified_behavior =
Cil_types.kernel_function * Cil_types.kinstr * Cil_types.funbehavior
type predicate_kind = private
PKRequires of Cil_types.funbehavior
| PKAssumes of Cil_types.funbehavior
| PKEnsures of Cil_types.funbehavior * Cil_types.termination_kind
| PKTerminates
type identified_predicate =
Property.predicate_kind * Cil_types.kernel_function *
Cil_types.kinstr * Cil_types.identified_predicate
type program_point = Before | After
type identified_reachable =
Cil_types.kernel_function option * Cil_types.kinstr *
Property.program_point
and identified_axiomatic = string * Property.identified_property list
and identified_lemma =
string * Cil_types.logic_label list * string list *
Cil_types.predicate Cil_types.named * Cil_types.location
and identified_axiom = Property.identified_lemma
and identified_instance =
Cil_types.kernel_function option * Cil_types.kinstr *
Property.identified_property
and identified_type_invariant =
string * Cil_types.typ * Cil_types.predicate Cil_types.named *
Cil_types.location
and identified_global_invariant =
string * Cil_types.predicate Cil_types.named * Cil_types.location
and identified_property = private
IPPredicate of Property.identified_predicate
| IPAxiom of Property.identified_axiom
| IPAxiomatic of Property.identified_axiomatic
| IPLemma of Property.identified_lemma
| IPBehavior of Property.identified_behavior
| IPComplete of Property.identified_complete
| IPDisjoint of Property.identified_disjoint
| IPCodeAnnot of Property.identified_code_annotation
| IPAllocation of Property.identified_allocation
| IPAssigns of Property.identified_assigns
| IPFrom of Property.identified_from
| IPDecrease of Property.identified_decrease
| IPReachable of Property.identified_reachable
| IPPropertyInstance of Property.identified_instance
| IPTypeInvariant of Property.identified_type_invariant
| IPGlobalInvariant of Property.identified_global_invariant
| IPOther of string * Cil_types.kernel_function option * Cil_types.kinstr
type t = identified_property
val ty : t Type.t
val name : string
val descr : t Descr.t
val packed_descr : Structural_descr.pack
val reprs : t list
val equal : t -> t -> bool
val compare : t -> t -> int
val hash : t -> int
val pretty_code : Format.formatter -> t -> unit
val internal_pretty_code : Type.precedence -> Format.formatter -> t -> unit
val pretty : Format.formatter -> t -> unit
val varname : t -> string
val mem_project : (Project_skeleton.t -> bool) -> t -> bool
val copy : t -> t
module Set :
sig
type elt = t
type t
val empty : t
val is_empty : t -> bool
val mem : elt -> t -> bool
val add : elt -> t -> t
val singleton : elt -> t
val remove : elt -> t -> t
val union : t -> t -> t
val inter : t -> t -> t
val diff : t -> t -> t
val subset : t -> t -> bool
val iter : (elt -> unit) -> t -> unit
val fold : (elt -> 'a -> 'a) -> t -> 'a -> 'a
val for_all : (elt -> bool) -> t -> bool
val exists : (elt -> bool) -> t -> bool
val filter : (elt -> bool) -> t -> t
val partition : (elt -> bool) -> t -> t * t
val cardinal : t -> int
val elements : t -> elt list
val choose : t -> elt
val split : elt -> t -> t * bool * t
val find : elt -> t -> elt
val of_list : elt list -> t
val min_elt : t -> elt
val max_elt : t -> elt
val nearest_elt_le : elt -> t -> elt
val nearest_elt_ge : elt -> t -> elt
val ty : t Type.t
val name : string
val descr : t Descr.t
val packed_descr : Structural_descr.pack
val reprs : t list
val equal : t -> t -> bool
val compare : t -> t -> int
val hash : t -> int
val pretty_code : Format.formatter -> t -> unit
val internal_pretty_code :
Type.precedence -> Format.formatter -> t -> unit
val pretty : Format.formatter -> t -> unit
val varname : t -> string
val mem_project : (Project_skeleton.t -> bool) -> t -> bool
val copy : t -> t
end
module Map :
sig
type key = t
type +'a t
val empty : 'a t
val is_empty : 'a t -> bool
val mem : key -> 'a t -> bool
val add : key -> 'a -> 'a t -> 'a t
val singleton : key -> 'a -> 'a t
val remove : key -> 'a t -> 'a t
val merge :
(key -> 'a option -> 'b option -> 'c option) -> 'a t -> 'b t -> 'c t
val compare : ('a -> 'a -> int) -> 'a t -> 'a t -> int
val equal : ('a -> 'a -> bool) -> 'a t -> 'a t -> bool
val iter : (key -> 'a -> unit) -> 'a t -> unit
val fold : (key -> 'a -> 'b -> 'b) -> 'a t -> 'b -> 'b
val for_all : (key -> 'a -> bool) -> 'a t -> bool
val exists : (key -> 'a -> bool) -> 'a t -> bool
val filter : (key -> 'a -> bool) -> 'a t -> 'a t
val partition : (key -> 'a -> bool) -> 'a t -> 'a t * 'a t
val cardinal : 'a t -> int
val bindings : 'a t -> (key * 'a) list
val min_binding : 'a t -> key * 'a
val max_binding : 'a t -> key * 'a
val choose : 'a t -> key * 'a
val split : key -> 'a t -> 'a t * 'a option * 'a t
val find : key -> 'a t -> 'a
val map : ('a -> 'b) -> 'a t -> 'b t
val mapi : (key -> 'a -> 'b) -> 'a t -> 'b t
module Key :
sig
type t = key
val ty : t Type.t
val name : string
val descr : t Descr.t
val packed_descr : Structural_descr.pack
val reprs : t list
val equal : t -> t -> bool
val compare : t -> t -> int
val hash : t -> int
val pretty_code : Format.formatter -> t -> unit
val internal_pretty_code :
Type.precedence -> Format.formatter -> t -> unit
val pretty : Format.formatter -> t -> unit
val varname : t -> string
val mem_project : (Project_skeleton.t -> bool) -> t -> bool
val copy : t -> t
end
module Make :
functor (Data : Datatype.S) ->
sig
type t = Data.t t
val ty : t Type.t
val name : string
val descr : t Descr.t
val packed_descr : Structural_descr.pack
val reprs : t list
val equal : t -> t -> bool
val compare : t -> t -> int
val hash : t -> int
val pretty_code : Format.formatter -> t -> unit
val internal_pretty_code :
Type.precedence -> Format.formatter -> t -> unit
val pretty : Format.formatter -> t -> unit
val varname : t -> string
val mem_project : (Project_skeleton.t -> bool) -> t -> bool
val copy : t -> t
end
end
module Hashtbl :
sig
type key = t
type 'a t
val create : int -> 'a t
val clear : 'a t -> unit
val reset : 'a t -> unit
val copy : 'a t -> 'a t
val add : 'a t -> key -> 'a -> unit
val remove : 'a t -> key -> unit
val find : 'a t -> key -> 'a
val find_all : 'a t -> key -> 'a list
val replace : 'a t -> key -> 'a -> unit
val mem : 'a t -> key -> bool
val iter : (key -> 'a -> unit) -> 'a t -> unit
val fold : (key -> 'a -> 'b -> 'b) -> 'a t -> 'b -> 'b
val length : 'a t -> int
val stats : 'a t -> Hashtbl.statistics
val iter_sorted :
?cmp:(key -> key -> int) -> (key -> 'a -> unit) -> 'a t -> unit
val fold_sorted :
?cmp:(key -> key -> int) ->
(key -> 'a -> 'b -> 'b) -> 'a t -> 'b -> 'b
val iter_sorted_by_entry :
cmp:(key * 'a -> key * 'a -> int) ->
(key -> 'a -> unit) -> 'a t -> unit
val fold_sorted_by_entry :
cmp:(key * 'a -> key * 'a -> int) ->
(key -> 'a -> 'b -> 'b) -> 'a t -> 'b -> 'b
val iter_sorted_by_value :
cmp:('a -> 'a -> int) -> (key -> 'a -> unit) -> 'a t -> unit
val fold_sorted_by_value :
cmp:('a -> 'a -> int) -> (key -> 'a -> 'b -> 'b) -> 'a t -> 'b -> 'b
val structural_descr : Structural_descr.t -> Structural_descr.t
val make_type : 'a Type.t -> 'a t Type.t
val memo : 'a t -> key -> (key -> 'a) -> 'a
module Key :
sig
type t = key
val ty : t Type.t
val name : string
val descr : t Descr.t
val packed_descr : Structural_descr.pack
val reprs : t list
val equal : t -> t -> bool
val compare : t -> t -> int
val hash : t -> int
val pretty_code : Format.formatter -> t -> unit
val internal_pretty_code :
Type.precedence -> Format.formatter -> t -> unit
val pretty : Format.formatter -> t -> unit
val varname : t -> string
val mem_project : (Project_skeleton.t -> bool) -> t -> bool
val copy : t -> t
end
module Make :
functor (Data : Datatype.S) ->
sig
type t = Data.t t
val ty : t Type.t
val name : string
val descr : t Descr.t
val packed_descr : Structural_descr.pack
val reprs : t list
val equal : t -> t -> bool
val compare : t -> t -> int
val hash : t -> int
val pretty_code : Format.formatter -> t -> unit
val internal_pretty_code :
Type.precedence -> Format.formatter -> t -> unit
val pretty : Format.formatter -> t -> unit
val varname : t -> string
val mem_project : (Project_skeleton.t -> bool) -> t -> bool
val copy : t -> t
end
end
val short_pretty : Format.formatter -> t -> unit
val pretty_predicate_kind :
Format.formatter -> Property.predicate_kind -> unit
val ip_other :
string ->
Cil_types.kernel_function option ->
Cil_types.kinstr -> Property.identified_property
val ip_reachable_stmt :
Cil_types.kernel_function ->
Cil_types.stmt -> Property.identified_property
val ip_reachable_ppt :
Property.identified_property -> Property.identified_property
val ip_of_requires :
Cil_types.kernel_function ->
Cil_types.kinstr ->
Cil_types.funbehavior ->
Cil_types.identified_predicate -> Property.identified_property
val ip_requires_of_behavior :
Cil_types.kernel_function ->
Cil_types.kinstr ->
Cil_types.funbehavior -> Property.identified_property list
val ip_of_assumes :
Cil_types.kernel_function ->
Cil_types.kinstr ->
Cil_types.funbehavior ->
Cil_types.identified_predicate -> Property.identified_property
val ip_assumes_of_behavior :
Cil_types.kernel_function ->
Cil_types.kinstr ->
Cil_types.funbehavior -> Property.identified_property list
val ip_of_ensures :
Cil_types.kernel_function ->
Cil_types.kinstr ->
Cil_types.funbehavior ->
Cil_types.termination_kind * Cil_types.identified_predicate ->
Property.identified_property
val ip_ensures_of_behavior :
Cil_types.kernel_function ->
Cil_types.kinstr ->
Cil_types.funbehavior -> Property.identified_property list
val ip_of_allocation :
Cil_types.kernel_function ->
Cil_types.kinstr ->
Property.behavior_or_loop ->
Cil_types.identified_term Cil_types.allocation ->
Property.identified_property option
val ip_allocation_of_behavior :
Cil_types.kernel_function ->
Cil_types.kinstr ->
Cil_types.funbehavior -> Property.identified_property option
val ip_of_assigns :
Cil_types.kernel_function ->
Cil_types.kinstr ->
Property.behavior_or_loop ->
Cil_types.identified_term Cil_types.assigns ->
Property.identified_property option
val ip_assigns_of_behavior :
Cil_types.kernel_function ->
Cil_types.kinstr ->
Cil_types.funbehavior -> Property.identified_property option
val ip_of_from :
Cil_types.kernel_function ->
Cil_types.kinstr ->
Property.behavior_or_loop ->
Cil_types.identified_term Cil_types.from -> Property.identified_property
val ip_from_of_behavior :
Cil_types.kernel_function ->
Cil_types.kinstr ->
Cil_types.funbehavior -> Property.identified_property list
val ip_assigns_of_code_annot :
Cil_types.kernel_function ->
Cil_types.kinstr ->
Cil_types.code_annotation -> Property.identified_property option
val ip_from_of_code_annot :
Cil_types.kernel_function ->
Cil_types.kinstr ->
Cil_types.code_annotation -> Property.identified_property list
val ip_post_cond_of_behavior :
Cil_types.kernel_function ->
Cil_types.kinstr ->
Cil_types.funbehavior -> Property.identified_property list
val ip_of_behavior :
Cil_types.kernel_function ->
Cil_types.kinstr -> Cil_types.funbehavior -> Property.identified_property
val ip_all_of_behavior :
Cil_types.kernel_function ->
Cil_types.kinstr ->
Cil_types.funbehavior -> Property.identified_property list
val ip_of_complete :
Cil_types.kernel_function ->
Cil_types.kinstr -> string list -> Property.identified_property
val ip_complete_of_spec :
Cil_types.kernel_function ->
Cil_types.kinstr ->
Cil_types.funspec -> Property.identified_property list
val ip_of_disjoint :
Cil_types.kernel_function ->
Cil_types.kinstr -> string list -> Property.identified_property
val ip_disjoint_of_spec :
Cil_types.kernel_function ->
Cil_types.kinstr ->
Cil_types.funspec -> Property.identified_property list
val ip_of_terminates :
Cil_types.kernel_function ->
Cil_types.kinstr ->
Cil_types.identified_predicate -> Property.identified_property
val ip_terminates_of_spec :
Cil_types.kernel_function ->
Cil_types.kinstr ->
Cil_types.funspec -> Property.identified_property option
val ip_of_decreases :
Cil_types.kernel_function ->
Cil_types.kinstr ->
Cil_types.term Cil_types.variant -> Property.identified_property
val ip_decreases_of_spec :
Cil_types.kernel_function ->
Cil_types.kinstr ->
Cil_types.funspec -> Property.identified_property option
val ip_post_cond_of_spec :
Cil_types.kernel_function ->
Cil_types.kinstr ->
Cil_types.funspec -> Property.identified_property list
val ip_of_spec :
Cil_types.kernel_function ->
Cil_types.kinstr ->
Cil_types.funspec -> Property.identified_property list
val ip_property_instance :
Cil_types.kernel_function option ->
Cil_types.kinstr ->
Property.identified_property -> Property.identified_property
val ip_axiom : Property.identified_axiom -> Property.identified_property
val ip_lemma : Property.identified_lemma -> Property.identified_property
val ip_type_invariant :
Property.identified_type_invariant -> Property.identified_property
val ip_global_invariant :
Property.identified_global_invariant -> Property.identified_property
val ip_of_code_annot :
Cil_types.kernel_function ->
Cil_types.stmt ->
Cil_types.code_annotation -> Property.identified_property list
val ip_of_code_annot_single :
Cil_types.kernel_function ->
Cil_types.stmt ->
Cil_types.code_annotation -> Property.identified_property
val ip_of_global_annotation :
Cil_types.global_annotation -> Property.identified_property list
val ip_of_global_annotation_single :
Cil_types.global_annotation -> Property.identified_property option
val get_kinstr : Property.identified_property -> Cil_types.kinstr
val get_kf :
Property.identified_property -> Cil_types.kernel_function option
val get_behavior :
Property.identified_property -> Cil_types.funbehavior option
val location : Property.identified_property -> Cil_types.location
module Names :
sig
val self : State.t
val get_prop_name_id : Property.identified_property -> string
val get_prop_basename : Property.identified_property -> string
val reserve_name_id : string -> string
end
end