Skip to content

Commit ca40482

Browse files
committed
Change path printing log level to debug
1 parent bb3d696 commit ca40482

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

src/arg/violation.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,7 @@ let find_path (type node) (module Arg:ViolationArg with type Node.t = node) (mod
380380

381381
let print_path path =
382382
List.iter (fun (n1, e, n2) ->
383-
Logs.info " %s =[%s]=> %s" (Arg.Node.to_string n1) (Arg.Edge.to_string e) (Arg.Node.to_string n2)
383+
Logs.debug " %s =[%s]=> %s" (Arg.Node.to_string n1) (Arg.Edge.to_string e) (Arg.Node.to_string n2)
384384
) path
385385
in
386386

tests/regression/witness/violation.t/run.t

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,6 @@
1212
dead: 3
1313
total lines: 11
1414
[Warning][Deadcode][CWE-571] condition 'i == 1' is always true (callfpointer.c:11:5-11:9)
15-
[Info] fun316main(12)[7] =[Entry main]=> s11(12)[7]
16-
[Info] s11(12)[7] =[InlineEntry '(& h)']=> fun309f(18)[16]@s11(12)[7]
17-
[Info] fun309f(18)[16]@s11(12)[7] =[Entry f]=> s3(18)[16]@s11(12)[7]
18-
[Info] s3(18)[16]@s11(12)[7] =[InlineEntry '(1)']=> fun313h(24)[21]@s3(18)[16]@s11(12)[7]
19-
[Info] fun313h(24)[21]@s3(18)[16]@s11(12)[7] =[Entry h]=> s5(24)[21]@s3(18)[16]@s11(12)[7]
20-
[Info] s5(24)[21]@s3(18)[16]@s11(12)[7] =[Test (i == 1,true)]=> s7(24)[21]@s3(18)[16]@s11(12)[7]
2115
SV-COMP result: unknown
2216

2317
$ graph-easy --as=boxart arg.dot

0 commit comments

Comments
 (0)