You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
RD.remove_vars_with new_fun_rel arg_vars; (* fine to remove arg vars that also exist in caller because unify from new_rel adds them back with proper constraints *)
423
423
let tainted = f_ask.f Queries.MayBeTaintedin
424
424
let tainted_vars =TaintPartialContexts.conv_varset tainted in
Copy file name to clipboardExpand all lines: src/cdomains/apron/gobApron.apron.ml
+77-1Lines changed: 77 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,19 @@
1
1
openBatteries
2
2
includeApron
3
3
4
+
moduleScalar=
5
+
struct
6
+
includeScalar
7
+
8
+
let pp = print
9
+
includePrintable.SimpleFormat (
10
+
struct
11
+
typenonrec t = t
12
+
let pp = pp
13
+
end
14
+
)
15
+
end
16
+
4
17
moduleCoeff=
5
18
struct
6
19
includeCoeff
@@ -11,14 +24,30 @@ end
11
24
moduleVar=
12
25
struct
13
26
includeVar
27
+
28
+
let pp = print
29
+
includePrintable.SimpleFormat (
30
+
struct
31
+
typenonrec t = t
32
+
let pp = pp
33
+
end
34
+
)
35
+
14
36
letequalxy=Var.compare x y =0
15
37
end
16
38
17
39
moduleLincons1=
18
40
struct
19
41
includeLincons1
20
42
21
-
let show =Format.asprintf "%a" print
43
+
let pp = print
44
+
includePrintable.SimpleFormat (
45
+
struct
46
+
typenonrec t = t
47
+
let pp = pp
48
+
end
49
+
)
50
+
22
51
letcomparexy=
23
52
(* TODO: implement proper total Lincons1 order *)
24
53
String.compare (show x) (show y) (* HACK *)
@@ -45,12 +74,59 @@ struct
45
74
|> of_enum
46
75
end
47
76
77
+
moduleTexpr1=
78
+
struct
79
+
includeTexpr1
80
+
81
+
let pp = print
82
+
includePrintable.SimpleFormat (
83
+
struct
84
+
typenonrec t = t
85
+
let pp = pp
86
+
end
87
+
)
88
+
89
+
moduleExpr=
90
+
struct
91
+
typet = expr
92
+
93
+
let pp = print_expr
94
+
includePrintable.SimpleFormat (
95
+
struct
96
+
typenonrec t = t
97
+
let pp = pp
98
+
end
99
+
)
100
+
end
101
+
end
102
+
103
+
moduleTcons1=
104
+
struct
105
+
includeTcons1
106
+
107
+
let pp = print
108
+
includePrintable.SimpleFormat (
109
+
struct
110
+
typenonrec t = t
111
+
let pp = pp
112
+
end
113
+
)
114
+
end
115
+
48
116
(** A few code elements for environment changes from functions as remove_vars etc. have been moved to sharedFunctions as they are needed in a similar way inside affineEqualityDomain.
49
117
A module that includes various methods used by variable handling operations such as add_vars, remove_vars etc. in apronDomain and affineEqualityDomain. *)
50
118
moduleEnvironment=
51
119
struct
52
120
includeEnvironment
53
121
122
+
let pp: Format.formatter -> Environment.t -> unit=Environment.print
123
+
includePrintable.SimpleFormat (
124
+
struct
125
+
typenonrec t = t
126
+
let pp = pp
127
+
end
128
+
)
129
+
54
130
letcompare (x: t) (y: t): int =
55
131
(* TODO: implement total Environment order in OCaml *)
56
132
failwith "Apron.Environment doesn't have total order"(* https://github.com/antoinemine/apron/issues/99 *)
0 commit comments