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_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 identified_unreachable =
UStmt of Cil_types.kernel_function * Cil_types.stmt
| UProperty of Property.identified_property
and identified_axiomatic = string * Property.identified_property list
and identified_property = private
IPPredicate of Property.identified_predicate
| IPAxiom of string
| IPAxiomatic of Property.identified_axiomatic
| IPLemma of string
| IPBehavior of Property.identified_behavior
| IPComplete of Property.identified_complete
| IPDisjoint of Property.identified_disjoint
| IPCodeAnnot of Property.identified_code_annotation
| IPAssigns of Property.identified_assigns
| IPFrom of Property.identified_from
| IPDecrease of Property.identified_decrease
| IPUnreachable of Property.identified_unreachable
| 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 compare : t -> t -> int
val equal : t -> t -> bool
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 min_elt : t -> elt
val max_elt : t -> elt
val choose : t -> elt
val split : elt -> t -> t * bool * 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 hash : t -> int
val internal_pretty_code :
Type.precedence -> Format.formatter -> t -> unit
val pretty_code : 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 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 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 ip_other :
string ->
Cil_types.kernel_function option ->
Cil_types.kinstr -> Property.identified_property
val ip_unreachable_stmt :
Cil_types.kernel_function ->
Cil_types.stmt -> Property.identified_property
val ip_unreachable_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_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_axiom : string -> Property.identified_property
val ip_lemma : string -> 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
end