Skip to content

Commit

Permalink
Fix tracing call in base
Browse files Browse the repository at this point in the history
  • Loading branch information
sim642 committed Nov 28, 2023
1 parent 24943a1 commit 6b1dce9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/analyses/base.ml
Original file line number Diff line number Diff line change
Expand Up @@ -1486,7 +1486,7 @@ struct
Priv.read_global a priv_getg st x
in
let new_value = update_offset old_value in
M.tracel "hgh" "update_offset %a -> %a\n" VD.pretty old_value VD.pretty new_value;
if M.tracing then M.tracel "set" "update_offset %a -> %a\n" VD.pretty old_value VD.pretty new_value;
let r = Priv.write_global ~invariant a priv_getg (priv_sideg ctx.sideg) st x new_value in
if M.tracing then M.tracel "set" ~var:x.vname "update_one_addr: updated a global var '%s' \nstate:%a\n\n" x.vname D.pretty r;
r
Expand Down

0 comments on commit 6b1dce9

Please sign in to comment.