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


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


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

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

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

  dereference of t:per-thread-struct.i:1017 at per-thread-struct.i:1019
    alloc:per-thread-struct.i:1027 => tmp___1::-1
                                   => t:per-thread-struct.i:1027
                                   => cast:per-thread-struct.i:1017 at thread per-thread-struct.i:1028
                                   => t:per-thread-struct.i:1017
  locks acquired:
    <empty>
  in: main at per-thread-struct.i:1022 -> per-thread-struct.i:1028


Warning: Possible data race: alloc.data:per-thread-struct.i:1027 is not protected!
 references:
  dereference of *t.data:per-thread-struct.i:1017 at per-thread-struct.i:1018
    alloc.data:per-thread-struct.i:1027 => t->data:per-thread-struct.i:1027
                                        => *t.data:per-thread-struct.i:1017 at thread per-thread-struct.i:1028
  locks acquired:
    <empty>
  in: main at per-thread-struct.i:1022 -> per-thread-struct.i:1028

  dereference of *t.data:per-thread-struct.i:1017 at per-thread-struct.i:1019
    alloc.data:per-thread-struct.i:1027 => t->data:per-thread-struct.i:1027
                                        => *t.data:per-thread-struct.i:1017 at thread per-thread-struct.i:1028
  locks acquired:
    <empty>
  in: main at per-thread-struct.i:1022 -> per-thread-struct.i:1028


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

LockSmith run for: 0.041984 seconds

gcc -D_GNUCC -E /tmp/cil-BdcBLGeF.cil.c -o /tmp/cil-8O23scwr.cil.i
