sig
val check_range : string -> min:int -> max:int -> int -> unit
val get_selection_context : unit -> Project.Selection.t
module Dynamic :
sig
module type Common =
sig
type t
val get : string -> Parameters.Dynamic.Common.t
val set : string -> Parameters.Dynamic.Common.t -> unit
val clear : string -> unit -> unit
val is_set : string -> bool
val is_default : string -> bool
end
module Bool :
sig
type t = bool
val get : string -> t
val set : string -> t -> unit
val clear : string -> unit -> unit
val is_set : string -> bool
val is_default : string -> bool
val on : string -> unit -> unit
val off : string -> unit -> unit
end
module Int :
sig
type t = int
val get : string -> t
val set : string -> t -> unit
val clear : string -> unit -> unit
val is_set : string -> bool
val is_default : string -> bool
val incr : string -> unit -> unit
end
module String :
sig
type t = string
val get : string -> t
val set : string -> t -> unit
val clear : string -> unit -> unit
val is_set : string -> bool
val is_default : string -> bool
end
module StringSet :
sig
type t = Cilutil.StringSet.t
val get : string -> t
val set : string -> t -> unit
val clear : string -> unit -> unit
val is_set : string -> bool
val is_default : string -> bool
val add : string -> string -> unit
val add_set : string -> string -> unit
val is_empty : string -> bool
val iter : string -> (string -> unit) -> unit
end
end
module AddPath : Plugin.STRING_SET
module LoadModule : Plugin.STRING_SET
module LoadScript : Plugin.STRING_SET
module PrintVersion : Plugin.BOOL
module PrintShare : Plugin.BOOL
module PrintLib : Plugin.BOOL
module PrintPluginPath : Plugin.BOOL
module CodeOutput :
sig
type t = string
val set : t -> unit
val add_set_hook : (t -> t -> unit) -> unit
val get : unit -> t
val clear : unit -> unit
val is_default : unit -> bool
val is_set : unit -> bool
val self : Project.Computation.t
val select :
Kind.how ->
Project.Computation.selection -> Project.Computation.selection
val depend : Project.Computation.t -> unit
val mark_as_computed : ?project:Project.project -> unit -> unit
val is_computed : ?project:Project.project -> unit -> bool
val do_not_save : unit -> unit
module Datatype : Project.Datatype.S
val name : string
val equal : t -> t -> bool
val unsafe_set : t -> unit
val add_alias : string list -> unit
val set_possible_values : string list -> unit
val get_possible_values : unit -> string list
val output : ('a, Format.formatter, unit) Pervasives.format -> 'a
end
module UseUnicode : Plugin.BOOL
module SaveState : Plugin.STRING
module LoadState : Plugin.STRING
module Time : Plugin.STRING
module MainFunction :
sig
type t = string
val set : t -> unit
val add_set_hook : (t -> t -> unit) -> unit
val get : unit -> t
val clear : unit -> unit
val is_default : unit -> bool
val is_set : unit -> bool
val self : Project.Computation.t
val select :
Kind.how ->
Project.Computation.selection -> Project.Computation.selection
val depend : Project.Computation.t -> unit
val mark_as_computed : ?project:Project.project -> unit -> unit
val is_computed : ?project:Project.project -> unit -> bool
val do_not_save : unit -> unit
module Datatype : Project.Datatype.S
val name : string
val equal : t -> t -> bool
val unsafe_set : t -> unit
val add_alias : string list -> unit
val set_possible_values : string list -> unit
val get_possible_values : unit -> string list
val unsafe_set : t -> unit
end
module LibEntry :
sig
type t = bool
val set : t -> unit
val add_set_hook : (t -> t -> unit) -> unit
val get : unit -> t
val clear : unit -> unit
val is_default : unit -> bool
val is_set : unit -> bool
val self : Project.Computation.t
val select :
Kind.how ->
Project.Computation.selection -> Project.Computation.selection
val depend : Project.Computation.t -> unit
val mark_as_computed : ?project:Project.project -> unit -> unit
val is_computed : ?project:Project.project -> unit -> bool
val do_not_save : unit -> unit
module Datatype : Project.Datatype.S
val name : string
val equal : t -> t -> bool
val unsafe_set : t -> unit
val add_alias : string list -> unit
val on : unit -> unit
val off : unit -> unit
val unsafe_set : t -> unit
end
module Machdep :
sig
type t = string
val set : t -> unit
val add_set_hook : (t -> t -> unit) -> unit
val get : unit -> t
val clear : unit -> unit
val is_default : unit -> bool
val is_set : unit -> bool
val self : Project.Computation.t
val select :
Kind.how ->
Project.Computation.selection -> Project.Computation.selection
val depend : Project.Computation.t -> unit
val mark_as_computed : ?project:Project.project -> unit -> unit
val is_computed : ?project:Project.project -> unit -> bool
val do_not_save : unit -> unit
module Datatype : Project.Datatype.S
val name : string
val equal : t -> t -> bool
val unsafe_set : t -> unit
val add_alias : string list -> unit
val set_possible_values : string list -> unit
val get_possible_values : unit -> string list
val unsafe_set : t -> unit
end
val verbose_atleast : int -> bool
val debug_atleast : int -> bool
val result : ?level:int -> 'a Log.pretty_printer
val feedback : ?level:int -> 'a Log.pretty_printer
val debug : ?level:int -> 'a Log.pretty_printer
val warning : 'a Log.pretty_printer
val error : 'a Log.pretty_printer
val abort : ('a, 'b) Log.pretty_aborter
val failure : 'a Log.pretty_printer
val fatal : ('a, 'b) Log.pretty_aborter
val verify : bool -> ('a, bool) Log.pretty_aborter
val not_yet_implemented : ('a, Format.formatter, unit, 'b) format4 -> 'a
val with_result : (Log.event -> 'a) -> ('b, 'a) Log.pretty_aborter
val with_warning : (Log.event -> 'a) -> ('b, 'a) Log.pretty_aborter
val with_error : (Log.event -> 'a) -> ('b, 'a) Log.pretty_aborter
val with_failure : (Log.event -> 'a) -> ('b, 'a) Log.pretty_aborter
val log :
?kind:Log.kind -> ?verbose:int -> ?debug:int -> 'a Log.pretty_printer
val with_log :
(Log.event -> 'a) -> ?kind:Log.kind -> ('b, 'a) Log.pretty_aborter
val register : Log.kind -> (Log.event -> unit) -> unit
val register_tag_handlers : (string -> string) * (string -> string) -> unit
val add_group : string -> Plugin.group
module Help : Plugin.BOOL
module Verbose : Plugin.INT
module Debug : Plugin.INT
module Journal :
sig module Enable : Plugin.BOOL module Name : Plugin.STRING end
module PrintCode : Plugin.BOOL
module SimplifyCfg : Plugin.BOOL
module KeepSwitch : Plugin.BOOL
module PrintComments : Plugin.BOOL
module UnrollingLevel : Plugin.INT
module Constfold : Plugin.BOOL
module Obfuscate : Plugin.BOOL
module CppCommand : Plugin.STRING
module CppExtraArgs : Plugin.STRING_SET
module ReadAnnot : Plugin.BOOL
module PreprocessAnnot : Plugin.BOOL
module TypeCheck : Plugin.BOOL
module ContinueOnAnnotError : Plugin.BOOL
module Files :
sig
type t = string list
val set : t -> unit
val add_set_hook : (t -> t -> unit) -> unit
val get : unit -> t
val clear : unit -> unit
val is_default : unit -> bool
val is_set : unit -> bool
val self : Project.Computation.t
val select :
Kind.how ->
Project.Computation.selection -> Project.Computation.selection
val depend : Project.Computation.t -> unit
val mark_as_computed : ?project:Project.project -> unit -> unit
val is_computed : ?project:Project.project -> unit -> bool
val do_not_save : unit -> unit
module Datatype : Project.Datatype.S
val name : string
val equal : t -> t -> bool
val unsafe_set : t -> unit
val add_alias : string list -> unit
val set_set : string -> unit
val get_set : ?sep:string -> unit -> string
val add : string -> unit
val add_set : string -> unit
val iter : (string -> unit) -> unit
val fold : (string -> 'a -> 'a) -> 'a -> 'a
module Check : Plugin.BOOL
module Copy : Plugin.BOOL
module Orig_name : Plugin.BOOL
end
module AbsoluteValidRange : Plugin.STRING
module FloatDigits : Plugin.INT
module Overflow : Plugin.BOOL
module UnspecifiedAccess : Plugin.BOOL
module SafeArrays : Plugin.BOOL
end