-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathrpp_predicate_visitor.mli
90 lines (75 loc) · 3.39 KB
/
rpp_predicate_visitor.mli
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
(**************************************************************************)
(* This file is part of RPP plug-in of Frama-C. *)
(* *)
(* Copyright (C) 2016-2023 *)
(* CEA (Commissariat à l'énergie atomique et aux énergies *)
(* alternatives) *)
(* *)
(* you can redistribute it and/or modify it under the terms of the GNU *)
(* Lesser General Public License as published by the Free Software *)
(* Foundation, version 2.1. *)
(* *)
(* It is distributed in the hope that it will be useful, *)
(* but WITHOUT ANY WARRANTY; without even the implied warranty of *)
(* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *)
(* GNU Lesser General Public License for more details. *)
(* *)
(* See the GNU Lesser General Public License version 2.1 *)
(* for more details (enclosed in the file LICENSE). *)
(**************************************************************************)
val predicate_visitor:
?proof:bool ->
Cil_types.predicate -> Cil_types.fundec ->
Rpp_types.visitor ->
Project.t ->
(int * Rpp_types.logic_info * Rpp_types.logic_info_pure) list -> int ->
Cil_types.code_annotation
val get_typ_in_current_project:
Cil_types.typ -> Visitor_behavior.t -> Cil_types.location -> Cil_types.typ
val sorter :
('a * 'b) list -> 'a list * 'b list
val id_convert:
string -> Cil_types.location ->
Rpp_types.call_data list -> Cil_types.logic_builtin_label
val make_stmt_from_exp:
(Cil_types.exp * Cil_types.varinfo * Cil_types.term) option list ->
Cil_types.location -> Cil_types.stmt list * Cil_types.varinfo list
val function_return_type:
Cil_types.varinfo -> Visitor_behavior.t ->
Cil_types.location -> Cil_types.typ
val make_local:
Cil_types.fundec ->
Cil_types.kernel_function ->
int -> Visitor_behavior.t ->
Cil_types.location -> int ->
Cil_types.varinfo list
type side_effect = {
mutable assigns: Cil_types.varinfo list;
mutable froms: Cil_types.varinfo list;
mutable assigns_p: (Cil_types.term * Cil_types.varinfo) list;
mutable assigns_p_f: (Cil_types.term * Cil_types.varinfo) list;
mutable from_p: (Cil_types.term * Cil_types.varinfo) list;
mutable from_p_f: (Cil_types.term * Cil_types.varinfo) list;
}
val check_function_side_effect:
Cil_types.varinfo -> Cil_types.location -> side_effect
val pretty_effect_data:
Cil_types.varinfo ->
side_effect ->
unit
val make_unique_global_name:
?acc:int -> String.t -> Cil_types.varinfo list -> String.t
val make_global:
Cil_datatype.Varinfo.Map.key list ->
string ->
Cil_types.logic_var Cil_datatype.Varinfo.Map.t ->
Visitor_behavior.t ->
Cil_types.location ->
Cil_types.varinfo list ->
int ->
Cil_types.logic_var Cil_datatype.Varinfo.Map.t * Cil_types.logic_var list
val clone_killer:
'a list -> 'a list -> ('a -> 'a -> bool) -> 'a list
class separate_checker:
Cil_types.location -> Cil_types.term list ->
string -> Visitor.frama_c_visitor