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/analyses/base.ml
+9-2
Original file line number
Diff line number
Diff line change
@@ -1231,9 +1231,16 @@ struct
1231
1231
if copied then
1232
1232
M.warn ~category:(Behavior (UndefinedOther)) "The jump buffer %a contains values that were copied here instead of being set by setjmp. This is Undefined Behavior." d_exp e;
1233
1233
x
1234
-
|y -> failwith (GobPretty.sprintf "problem?! is %a %a:\n state is %a"CilType.Exp.pretty e VD.pretty y D.pretty ctx.local)
1234
+
|Top
1235
+
|Bot ->
1236
+
JmpBufDomain.JmpBufSet.top ()
1237
+
|y ->
1238
+
M.debug ~category:Imprecise"EvalJmpBuf %a is %a, not JmpBuf."CilType.Exp.pretty e VD.pretty y;
1239
+
JmpBufDomain.JmpBufSet.top ()
1235
1240
end
1236
-
|_ -> failwith "problem?!"
1241
+
|_ ->
1242
+
M.debug ~category:Imprecise"EvalJmpBuf is not Address";
1243
+
JmpBufDomain.JmpBufSet.top ()
1237
1244
end
1238
1245
|Q.EvalInte ->
1239
1246
query_evalint (Analyses.ask_of_ctx ctx) ctx.global ctx.local e
0 commit comments