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


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


./cil/obj/x86_LINUX/cilly.asm.exe --out /tmp/cil-5z051FyM.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:1026 is not protected!
 references:
  dereference of t:per-thread-struct.i:1016 at per-thread-struct.i:1017
    alloc:per-thread-struct.i:1026 => tmp___1::-1
                                   => t:per-thread-struct.i:1026
                                   => cast:per-thread-struct.i:1016 at thread per-thread-struct.i:1027
                                   => t:per-thread-struct.i:1016
  locks acquired:
    <empty>
  in: main at per-thread-struct.i:1021 -> per-thread-struct.i:1027

  dereference of t:per-thread-struct.i:1016 at per-thread-struct.i:1018
    alloc:per-thread-struct.i:1026 => tmp___1::-1
                                   => t:per-thread-struct.i:1026
                                   => cast:per-thread-struct.i:1016 at thread per-thread-struct.i:1027
                                   => t:per-thread-struct.i:1016
  locks acquired:
    <empty>
  in: main at per-thread-struct.i:1021 -> per-thread-struct.i:1027


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

  dereference of *t.data:per-thread-struct.i:1016 at per-thread-struct.i:1018
    alloc.data:per-thread-struct.i:1026 => t->data:per-thread-struct.i:1026
                                        => *t.data:per-thread-struct.i:1016 at thread per-thread-struct.i:1027
  locks acquired:
    <empty>
  in: main at per-thread-struct.i:1021 -> per-thread-struct.i:1027


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

LockSmith run for: 0.034802 seconds

gcc -D_GNUCC -E /tmp/cil-5z051FyM.cil.c -o /tmp/cil-igcaOPx2.cil.i
