module Data_for_aorai:Return the buchi automata as stored after parsingsig
..end
Module of data management used in all the plugin Aorai. Operations are mainly accessors for data. The use of this module is mainly done through the ltl_utils module.
val raise_error : string -> 'a
val ltl_exps : (string, Cil_types.exp * string * Cil_types.predicate) Hashtbl.t
Pervasives.ref
val setLtl_expressions : (string, Cil_types.exp * string * Cil_types.predicate) Hashtbl.t -> unit
val ltl_expressions_iter : (string -> Cil_types.exp * string * Cil_types.predicate -> unit) -> unit
val get_exp_from_tmpident : string -> Cil_types.exp
val get_str_exp_from_tmpident : string -> string
val get_pred_from_tmpident : string -> Cil_types.predicate
val debug_ltl_expressions : unit -> unit
val declared_logics : (string, Cil_types.logic_info) Hashtbl.t
val add_logic : string -> Cil_types.logic_info -> unit
val get_logic : string -> Cil_types.logic_info
val declared_predicates : (string, Cil_types.logic_info) Hashtbl.t
val add_predicate : string -> Cil_types.logic_info -> unit
val get_predicate : string -> Cil_types.logic_info
val transStart : string
val transStop : string
val transCond : string
val transCondP : string
val loopInit : string
val curState : string
val curStateOld : string
val curTrans : string
val curOp : string
val curOpStatus : string
val acceptSt : string
val nbOp : string
val nbStates : string
val nbAcceptSt : string
val nbTrans : string
val macro_ligth : string
val macro_full : string
val macro_pure : string
val listOp : string
val listStatus : string
val callStatus : string
val termStatus : string
val states : string
val buch_sync : string
val automata : (Promelaast.state list * Promelaast.trans list) Pervasives.ref
val cond_of_parametrizedTransitions : Promelaast.condition list list array Pervasives.ref
val variables_from_auto : string list Pervasives.ref
val functions_from_auto : string list Pervasives.ref
val variables_from_c : string list Pervasives.ref
val functions_from_c : string list Pervasives.ref
val ignored_functions : String.t list Pervasives.ref
val getAutomata : unit -> Promelaast.state list * Promelaast.trans list
Return the buchi automata as stored after parsing
val getNumberOfTransitions : unit -> int
return the number of transitions of the automata
val getNumberOfStates : unit -> int
return the number of states of the automata
val setAutomata : Promelaast.state list * Promelaast.trans list ->
(string, 'a) Hashtbl.t -> (string, 'b) Hashtbl.t -> unit
Stores the buchi automata and its variables and functions as such as it is return by the parsing
val getStateName : int -> string
val setCondOfParametrizedTransition : Promelaast.condition list list array -> unit
val getParametrizedCondOfTransition : int -> Promelaast.condition list list
val setCData : unit -> unit
Initializes some tables according to data from Cil AST.
val getFunctions_from_auto : unit -> string list
Return the list of all function name observed in the promela file.
val getVariables_from_auto : unit -> string list
Return the list of all variables name observed in the promela file.
val getFunctions_from_c : unit -> string list
Return the list of all function name observed in the C file.
val getVariables_from_c : unit -> string list
Return the list of all variables name observed in the C file.
val getIgnoredFunctions : unit -> String.t list
Return the list of names of all ignored functions. A function is ignored if it is used in C file and if its declaration is unavailable.
val addIgnoredFunction : String.t -> unit
Return the list of names of all ignored functions. A function is ignored if it is used in C file and if its declaration is unavailable.
val isIgnoredFunction : String.t -> bool
Return true if and only if the given string fname denotes an ignored function.
val check_consistency : unit -> bool
val varinfos : (string, Cil_types.varinfo) Hashtbl.t
val paraminfos : (string * string, Cil_types.varinfo) Hashtbl.t
val set_varinfo : string -> Cil_types.varinfo -> unit
val get_varinfo : string -> Cil_types.varinfo
val get_varinfo_option : string -> Cil_types.varinfo option
val set_paraminfo : string -> string -> Cil_types.varinfo -> unit
val get_paraminfo : string -> string -> Cil_types.varinfo
val set_returninfo : string -> Cil_types.varinfo -> unit
val get_returninfo : string -> Cil_types.varinfo
val pre_status : (string, bool array * bool array) Hashtbl.t
val post_status : (string, bool array * bool array) Hashtbl.t
val post_status_bycase : (string, bool array array * bool array array) Hashtbl.t
val get_func_pre : ?securised:bool -> string -> bool array * bool array
Returns the pre condition associated to the given C function
val set_func_pre : string -> bool array * bool array -> unit
Sets the pre condition of the given C function
val get_func_post : ?securised:bool -> string -> bool array * bool array
Returns the post condition associated to the given C function
val set_func_post : string -> bool array * bool array -> unit
Sets the post condition of the given C function
val get_func_post_bycase : ?securised:bool -> string -> bool array array * bool array array
Returns the post condition associated to the given C function
val set_func_post_bycase : string -> bool array array * bool array array -> unit
Sets the pre condition of the given C function
val pre_call_status : (string * int, bool array * bool array) Hashtbl.t
val get_func_pre_call : string -> int -> bool array * bool array
Gives the specification of the call stmt in the given C function at the given StmtId.
val set_func_pre_call : string -> int -> bool array * bool array -> unit
Sets the specification of the call stmt in the given C function at the given StmtId.
val set_func_pre_call_bycase : string -> int -> bool array array * bool array array -> unit
Sets the specification of the call stmt in the given C function at the given StmtId.
val loop_ext_pre : (Cil_types.stmt Pervasives.ref, bool array * bool array) Hashtbl.t
val loop_int_pre : (Cil_types.stmt Pervasives.ref, bool array * bool array) Hashtbl.t
val loop_ext_post : (Cil_types.stmt Pervasives.ref, bool array * bool array) Hashtbl.t
val loop_int_post : (Cil_types.stmt Pervasives.ref, bool array * bool array) Hashtbl.t
val get_loop_ext_pre : Cil_types.stmt Pervasives.ref -> bool array * bool array
val get_loop_int_pre : Cil_types.stmt Pervasives.ref -> bool array * bool array
val set_loop_ext_pre : Cil_types.stmt Pervasives.ref -> bool array * bool array -> unit
val set_loop_int_pre : Cil_types.stmt Pervasives.ref -> bool array * bool array -> unit
val get_loop_ext_post : Cil_types.stmt Pervasives.ref -> bool array * bool array
val get_loop_int_post : Cil_types.stmt Pervasives.ref -> bool array * bool array
val set_loop_ext_post : Cil_types.stmt Pervasives.ref -> bool array * bool array -> unit
val set_loop_int_post : Cil_types.stmt Pervasives.ref -> bool array * bool array -> unit
val loop_ext_pre_bycase : (Cil_types.stmt Pervasives.ref, bool array array * bool array array)
Hashtbl.t
val loop_int_pre_bycase : (Cil_types.stmt Pervasives.ref, bool array array * bool array array)
Hashtbl.t
val loop_ext_post_bycase : (Cil_types.stmt Pervasives.ref, bool array array * bool array array)
Hashtbl.t
val loop_int_post_bycase : (Cil_types.stmt Pervasives.ref, bool array array * bool array array)
Hashtbl.t
val get_loop_ext_pre_bycase : Cil_types.stmt Pervasives.ref -> bool array array * bool array array
val get_loop_int_pre_bycase : Cil_types.stmt Pervasives.ref -> bool array array * bool array array
val set_loop_ext_pre_bycase : Cil_types.stmt Pervasives.ref -> bool array array * bool array array -> unit
val set_loop_int_pre_bycase : Cil_types.stmt Pervasives.ref -> bool array array * bool array array -> unit
val get_loop_ext_post_bycase : Cil_types.stmt Pervasives.ref -> bool array array * bool array array
val get_loop_int_post_bycase : Cil_types.stmt Pervasives.ref -> bool array array * bool array array
val set_loop_ext_post_bycase : Cil_types.stmt Pervasives.ref -> bool array array * bool array array -> unit
val set_loop_int_post_bycase : Cil_types.stmt Pervasives.ref -> bool array array * bool array array -> unit
val get_loops_index : unit -> Cil_types.stmt Pervasives.ref list
Returns a stmt_ref list. It is the set of all registered loop in loop_specs hashtables
val removeUnusedTransitionsAndStates : unit -> unit
val func_to_op_func : string -> string
val used_enuminfo : (string, Cil_types.enuminfo) Hashtbl.t
val set_usedinfo : string -> Cil_types.enuminfo -> unit
val get_usedinfo : string -> Cil_types.enuminfo
val get_cenum_option : string -> Cil_types.constant option
val func_to_cenum : string -> Cil_types.constant
val op_status_to_cenum : Promelaast.funcStatus -> Cil_types.constant
val is_in_vi_list : string -> Cil_types.varinfo list -> bool
val get_fresh_name : Cil_types.varinfo list -> string -> string
val local_tmp_vars : (string, Cil_types.varinfo) Hashtbl.t
val make_local_tmp : string -> Cil_types.varinfo
val get_local_tmp_name : string -> string
val local_iter_vars : (string, Cil_types.varinfo) Hashtbl.t
val make_local_iter : string -> Cil_types.varinfo
val get_local_iter_name : string -> string