Skip to content

Commit e2e2bec

Browse files
author
Simon Tietz
committed
test
1 parent 9868949 commit e2e2bec

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/analyses/base.ml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1242,6 +1242,7 @@ struct
12421242
if AD.mem Addr.UnknownPtr jmp_buf then
12431243
M.warn ~category:Imprecise "Jump buffer %a may contain unknown pointers." d_exp e;
12441244
begin match get ~ctx ~top:(VD.bot ()) ctx.local jmp_buf None with
1245+
(* dummy *)
12451246
| JmpBuf (x, copied, invalid) ->
12461247
if copied then
12471248
M.warn ~category:(Behavior (Undefined Other)) "The jump buffer %a contains values that were copied here instead of being set by setjmp. This is Undefined Behavior." d_exp e;

0 commit comments

Comments
 (0)