./goblint --conf conf/svcomp.json --set ana.base.privatization protection --sets ana.specification /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/properties/no-data-race.prp --sets exp.architecture 32bit /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/peterson-b.i


--------------------------------------------------------------------------------


[0;33m[Warning] --sets is deprecated, use --set instead.[0;0;00m
[0;33m[Warning] --sets is deprecated, use --set instead.[0;0;00m
[Info] unrolling loop at lib/libc/stub/src/stdlib.c:10:5-12:5 with factor 12
[Info] unrolling loop at lib/libc/stub/src/stdlib.c:21:9-27:9 with factor 4
[Info] unrolling loop at lib/libc/stub/src/stdlib.c:40:3-45:3 with factor 6
[Info] Specification: CHECK( init(main()), LTL(G ! data-race) ) -> enabling soundness analyses "access, race"
[Info] Enabled congruence domain.
[Info] Enabled widening thresholds
[Info] Enabled octagon domain ONLY for:
[Info] turn, x, i, count, tmp, key, a, count, j, k, size, i, i___0, j___0, a, top, expression, t1, t2, __x, __x, __x
[Info] SV-COMP specification: CHECK( init(main()), LTL(G ! data-race) )
[Warning][Deadcode] Function '__bswap_32' is uncalled: 1 LLoC (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/peterson-b.i:67:1-71:1)
[Warning][Deadcode] Function '__bswap_64' is uncalled: 1 LLoC (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/peterson-b.i:72:1-76:1)
[Warning][Deadcode] Function '__uint16_identity' is uncalled: 1 LLoC (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/peterson-b.i:77:1-81:1)
[Warning][Deadcode] Function '__uint32_identity' is uncalled: 1 LLoC (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/peterson-b.i:82:1-86:1)
[Warning][Deadcode] Function '__uint64_identity' is uncalled: 1 LLoC (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/peterson-b.i:87:1-91:1)
[Info][Deadcode] Logical lines of code (LLoC) summary:
  live: 23
  dead: 5 (5 in uncalled functions)
  total lines: 28
[Warning][Race] Memory location flag2 (race with conf. 110): (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/peterson-b.i:684:16-684:25)
  write with [region:{flag2}, thread:[main, thr2@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/peterson-b.i:708:3-708:34]] (conf. 110)  (exp: & flag2) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/peterson-b.i:697:3-697:12)
  write with [region:{flag2}, thread:[main, thr2@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/peterson-b.i:708:3-708:34]] (conf. 110)  (exp: & flag2) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/peterson-b.i:702:3-702:12)
  read with [region:{flag2}, thread:[main, thr1@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/peterson-b.i:707:3-707:34]] (conf. 110)  (exp: & flag2) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/peterson-b.i:690:10-690:29)
[Warning][Race] Memory location turn (race with conf. 110): (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/peterson-b.i:685:5-685:9)
  write with [region:{turn}, thread:[main, thr1@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/peterson-b.i:707:3-707:34]] (conf. 110)  (exp: & turn) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/peterson-b.i:689:3-689:11)
  write with [region:{turn}, thread:[main, thr2@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/peterson-b.i:708:3-708:34]] (conf. 110)  (exp: & turn) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/peterson-b.i:698:3-698:11)
  read with [region:{turn}, thread:[main, thr1@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/peterson-b.i:707:3-707:34]] (conf. 110)  (exp: & turn) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/peterson-b.i:690:10-690:29)
  read with [region:{turn}, thread:[main, thr2@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/peterson-b.i:708:3-708:34]] (conf. 110)  (exp: & turn) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/peterson-b.i:699:10-699:29)
[Warning][Deadcode][CWE-570] condition '0' is always false (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/peterson-b.i:12:73-12:74)
[Warning][Race] Memory location flag1 (race with conf. 110): (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/peterson-b.i:684:5-684:14)
  write with [region:{flag1}, thread:[main, thr1@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/peterson-b.i:707:3-707:34]] (conf. 110)  (exp: & flag1) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/peterson-b.i:688:3-688:12)
  write with [region:{flag1}, thread:[main, thr1@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/peterson-b.i:707:3-707:34]] (conf. 110)  (exp: & flag1) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/peterson-b.i:693:3-693:12)
  read with [region:{flag1}, thread:[main, thr2@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/peterson-b.i:708:3-708:34]] (conf. 110)  (exp: & flag1) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/peterson-b.i:699:10-699:29)
[Warning][Race] Memory location x (race with conf. 110): (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/peterson-b.i:686:5-686:6)
  write with [region:{x}, thread:[main, thr1@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/peterson-b.i:707:3-707:34]] (conf. 110)  (exp: & x) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/peterson-b.i:691:3-691:8)
  write with [region:{x}, thread:[main, thr2@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/peterson-b.i:708:3-708:34]] (conf. 110)  (exp: & x) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/peterson-b.i:700:3-700:8)
  read with [region:{x}, thread:[main, thr1@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/peterson-b.i:707:3-707:34]] (conf. 110)  (exp: & x) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/peterson-b.i:692:7-692:14)
  read with [region:{x}, thread:[main, thr2@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/peterson-b.i:708:3-708:34]] (conf. 110)  (exp: & x) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/peterson-b.i:701:7-701:14)
SV-COMP result: unknown
[Info][Witness] witness generation summary:
  total generation entries: 1
[Info][Race] Memory locations race summary:
  safe: 0
  vulnerable: 0
  unsafe: 4
  total memory locations: 4
