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
(* This type is abstract in the interface because invariant expressions may be optimized for readability but lack implicit casts, etc, which are required to normally use CIL exp-s in Goblint. *)
9
8
10
9
letbot()= zero (* false *)
11
10
lettop()= one (* true *)
@@ -22,8 +21,52 @@ struct
22
21
letmeetxy=BinOp (LAnd, x, y, intType)
23
22
letwidenxy= y
24
23
let narrow = meet
24
+
25
+
let to_cil =Fun.id
26
+
27
+
28
+
moduleES=SetDomain.Make (CilType.Exp)
29
+
30
+
(* Turns an expression into alist of conjuncts, pulling out common conjuncts from top-level disjunctions *)
let invs =WitnessUtil.InvariantExp.process_exp inv in
235
+
let invs =Invariant.Exp.process inv in
236
236
Queries.NS.fold (funnacc ->
237
237
let fundec =Node.find_fundec n in
238
238
matchWitnessInvariant.location_location n with(* Not just using Node.location because it returns expression location which may be invalid for location invariant (e.g. inside conditional). *)
0 commit comments