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
Copy file name to clipboardExpand all lines: src/cdomain/value/cdomains/int/defExcDomain.ml
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ end
11
11
(* The module [Exclusion] constains common functionality about handling of exclusion sets between [DefExc] and [Enums] *)
12
12
moduleExclusion=
13
13
struct
14
-
moduleR=IntervalArith (IntOps.Int64Ops)
14
+
moduleR=IntervalArith (IntOps.NIntOps)
15
15
(* We use these types for the functions in this module to make the intended meaning more explicit *)
16
16
typet = ExcofBISet.t*R.t
17
17
typeinc = IncofBISet.t [@@unboxed]
@@ -69,7 +69,7 @@ struct
69
69
70
70
(* Ikind used for intervals representing the domain *)
71
71
let range_ikind =Cil.IInt
72
-
letsizet=let a,b =Size.bits_i64 t inInt64.neg a,b
72
+
letsizet=let a,b =Size.bits t in-a,b
73
73
74
74
75
75
typet = [
@@ -81,7 +81,7 @@ struct
81
81
letname()="def_exc"
82
82
83
83
84
-
let overflow_range = (-999L, 999L) (* Since there is no top ikind we use a range that includes both IInt128 [-127,127] and IUInt128 [0,128]. Only needed for intermediate range computation on longs. Correct range is set by cast. *)
84
+
let overflow_range = (-999, 999) (* Since there is no top ikind we use a range that includes both IInt128 [-127,127] and IUInt128 [0,128]. Only needed for intermediate range computation on longs. Correct range is set by cast. *)
0 commit comments