./locksmith /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-struct-in-array.i


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


./cil/obj/x86_LINUX/cilly.asm.exe --out /tmp/cil-cPkxX_mb.cil.c /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-struct-in-array.i

************************* STARTING *************************

functions declared and used but not defined:
  __VERIFIER_nondet_int
  abort
  pthread_join
Warning: Possible data race: alloc:per-thread-struct-in-array.i:1024 is not protected!
 references:
  dereference of t:per-thread-struct-in-array.i:1016 at per-thread-struct-in-array.i:1017
    alloc:per-thread-struct-in-array.i:1024 => tmp___1::-1
                                            => ts:per-thread-struct-in-array.i:1024
                                            => cast:per-thread-struct-in-array.i:1016 at thread per-thread-struct-in-array.i:1026
                                            => t:per-thread-struct-in-array.i:1016
  locks acquired:
    <empty>
  in: main at per-thread-struct-in-array.i:1020 -> per-thread-struct-in-array.i:1026

  dereference of ts:per-thread-struct-in-array.i:1024 at per-thread-struct-in-array.i:1032
    alloc:per-thread-struct-in-array.i:1024 => tmp___1::-1
                                            => ts:per-thread-struct-in-array.i:1024
  locks acquired:
    <empty>
  in: main at per-thread-struct-in-array.i:1020


Warning: Possible data race: alloc.data:per-thread-struct-in-array.i:1024 is not protected!
 references:
  dereference of *t.data:per-thread-struct-in-array.i:1016 at per-thread-struct-in-array.i:1017
    alloc.data:per-thread-struct-in-array.i:1024 => tmp___1->data:per-thread-struct-in-array.i:1024
                                                 => *t.data:per-thread-struct-in-array.i:1016 at thread per-thread-struct-in-array.i:1026
  locks acquired:
    <empty>
  in: main at per-thread-struct-in-array.i:1020 -> per-thread-struct-in-array.i:1026

  dereference of tmp___1->data:per-thread-struct-in-array.i:1024 at per-thread-struct-in-array.i:1032
    alloc.data:per-thread-struct-in-array.i:1024 => tmp___1->data:per-thread-struct-in-array.i:1024
  locks acquired:
    <empty>
  in: main at per-thread-struct-in-array.i:1020


*************************** DONE ***************************

LockSmith run for: 0.041854 seconds

gcc -D_GNUCC -E /tmp/cil-cPkxX_mb.cil.c -o /tmp/cil-PMaOcBZw.cil.i
