Skip to content

Commit 8a2a977

Browse files
committed
Do not use plain CIL printers in user messages
1 parent ce3d4e9 commit 8a2a977

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/analyses/base.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1878,7 +1878,7 @@ struct
18781878

18791879
let invalidate ?(deep=true) ~ctx ask (gs:glob_fun) (st:store) (exps: exp list): store =
18801880
if M.tracing && exps <> [] then M.tracel "invalidate" "Will invalidate expressions [%a]\n" (d_list ", " d_plainexp) exps;
1881-
if exps <> [] then M.info ~category:Imprecise "Invalidating expressions: %a" (d_list ", " d_plainexp) exps;
1881+
if exps <> [] then M.info ~category:Imprecise "Invalidating expressions: %a" (d_list ", " d_exp) exps;
18821882
(* To invalidate a single address, we create a pair with its corresponding
18831883
* top value. *)
18841884
let invalidate_address st a =

src/analyses/baseInvariant.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ struct
243243
refine_lv_fallback ctx a gs st lval value tv
244244
| None ->
245245
if M.tracing then M.traceu "invariant" "Doing nothing.\n";
246-
M.debug ~category:Analyzer "Invariant failed: expression \"%a\" not understood." d_plainexp exp;
246+
M.debug ~category:Analyzer "Invariant failed: expression \"%a\" not understood." d_exp exp;
247247
st
248248

249249
let invariant ctx a gs st exp tv: D.t =

0 commit comments

Comments
 (0)