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
mapp2 { fp2 =fun (typea) (module I:SOverflow with type t = a and type int_t = int_t) -> I.to_incl_list } x |> flat merge
3479
3491
3492
+
letsameshowx=let xs = to_list_some x inlet us =List.unique xs inlet n =List.length us in
3493
+
if n =1thenSome (List.hd xs)
3494
+
else (
3495
+
if n>1thenMessages.info ~category:Unsound"Inconsistent state! %a" (Pretty.docList ~sep:(Pretty.text ",") (Pretty.text % show)) us; (* do not want to abort *)
3496
+
None
3497
+
)
3498
+
let to_int = same Z.to_string % mapp2 { fp2 =fun (typea) (module I:SOverflow with type t = a and type int_t = int_t) -> I.to_int }
3480
3499
3481
-
letpretty()= (funxs -> text "("++ (tryList.reduce (funab -> a ++ text ","++ b) xs withInvalid_argument_ -> nil)++ text ")")% to_list % mapp { fp =fun (typea) (module I:SOverflow with type t = a) ->(* assert sf==I.short; *)I.pretty () } (* NOTE: the version above does something else. also, we ignore the sf-argument here. *)
< [Debug][Analyzer] Base EvalInt i query answering bot instead of {?, NULL, &(alloc@sid:$SID)} (87-casts-dep-on-param.c:13:7-13:15)
20
+
< [Debug][Analyzer] Base EvalInt i query answering bot instead of {?, NULL, &(alloc@sid:$SID)} (87-casts-dep-on-param.c:14:3-14:11)
21
+
---
22
+
> [Debug][Analyzer] Base EvalInt i query answering bot instead of {?, NULL, &(alloc@sid:$SID@tid:Top Threads(#top))} (87-casts-dep-on-param.c:13:7-13:15)
23
+
> [Debug][Analyzer] Base EvalInt i query answering bot instead of {?, NULL, &(alloc@sid:$SID@tid:Top Threads(#top))} (87-casts-dep-on-param.c:14:3-14:11)
0 commit comments