./deagle --no-assertions --datarace --32 /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/security.wvr.c


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


Deagle version 2.1 64-bit x86_64 linux
which contains:
CBMC version 5.67.0 (SVCOMP2023_221122-2-g2121ef1a2) 64-bit x86_64 linux
Parsing /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/security.wvr.c
Converting
Type-checking security.wvr
Generating GOTO Program
Adding CPROVER library (x86_64)
file <builtin-library-pthread_create> line 20: warning: pointer parameter types differ between declaration and definition "pthread_create"
old definition in module security.wvr file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/security.wvr.c line 22
signed int (pthread_t *, const pthread_attr_t *, void * (*)(void *), void *)
new definition in module <built-in-library> file <builtin-library-pthread_create> line 20
signed int (pthread_t *thread, const pthread_attr_t *attr, void * (*start_routine)(void *), void *arg)
Removal of function pointers and virtual functions
file <builtin-library-__spawned_thread> line 34 function __spawned_thread: replacing function pointer by 2 possible targets
Generic Property Instrumentation
Running with 8 object bits, 24 offset bits (default)
Starting Bounded Model Checking
[Warning][Unknown] Function definition missing for __VERIFIER_nondet_uint (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/security.wvr.c:68:3)
[Warning][Unknown] INVALIDATING ALL GLOBALS! (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/security.wvr.c:68:3)
[Warning][Unknown] Invalidating expressions: AddrOf(Var(l2,
                                     NoOffset)), AddrOf(Var(z2, NoOffset)), AddrOf(Var(x2, NoOffset)), AddrOf(Var(l1, NoOffset)), AddrOf(Var(z1, NoOffset)), AddrOf(Var(x1, NoOffset)), AddrOf(Var(y, NoOffset)) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/security.wvr.c:68:3)
[Warning][Unknown] Invalidating expressions: AddrOf(Var(y, NoOffset)) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/security.wvr.c:68:3)
[Warning][Unknown] Function definition missing for __VERIFIER_nondet_bool (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/security.wvr.c:43:3)
[Warning][Unknown] INVALIDATING ALL GLOBALS! (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/security.wvr.c:43:3)
[Warning][Unknown] Invalidating expressions: AddrOf(Var(l2,
                                     NoOffset)), AddrOf(Var(z2, NoOffset)), AddrOf(Var(x2, NoOffset)), AddrOf(Var(l1, NoOffset)), AddrOf(Var(z1, NoOffset)), AddrOf(Var(x1, NoOffset)), AddrOf(Var(y, NoOffset)) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/security.wvr.c:43:3)
[Warning][Unknown] Invalidating expressions: AddrOf(Var(tmp, NoOffset)) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/security.wvr.c:43:3)
[Warning][Unknown] Function definition missing for __VERIFIER_nondet_bool (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/security.wvr.c:55:3)
[Warning][Unknown] INVALIDATING ALL GLOBALS! (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/security.wvr.c:55:3)
[Warning][Unknown] Invalidating expressions: AddrOf(Var(l2,
                                     NoOffset)), AddrOf(Var(z2, NoOffset)), AddrOf(Var(x2, NoOffset)), AddrOf(Var(l1, NoOffset)), AddrOf(Var(z1, NoOffset)), AddrOf(Var(x1, NoOffset)), AddrOf(Var(y, NoOffset)) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/security.wvr.c:55:3)
[Warning][Unknown] Invalidating expressions: AddrOf(Var(tmp, NoOffset)) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/security.wvr.c:55:3)
[Warning][Race] Memory location l1@security.wvr.c:38:25 (race with conf. 110):
  read with {thread:([main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/security.wvr.c:75:3)
  write with {thread:([thread1@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/security.wvr.c:71:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/security.wvr.c:48:3)
[Warning][Race] Memory location l2@security.wvr.c:38:37 (race with conf. 110):
  read with {thread:([main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/security.wvr.c:75:3)
  write with {thread:([thread2@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/security.wvr.c:72:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/security.wvr.c:60:3)

Summary for all memory locations:
	safe:            5
	vulnerable:      0
	unsafe:          2
	-------------------
	total:           7
Use SV-COMP unwinding strategy: 2
Deagle's solver is set!!!!!!
aborting path on assume(false) at file <builtin-library-abort> line 6 function abort thread 0
Handling datarace, passing the problem to goblint first
getcwd: /mnt/goblint-svcomp/benchexec/tools-pldi/deagle
/mnt/goblint-svcomp/benchexec/tools-pldi/deagle/goblint/goblint /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/security.wvr.c | tee goblint/goblint_output: 0
Lines where datarace may occur: 43 44 48 49 55 56 60 61 68 69 75 76 
The number of races before goblint filter: 20
The number of races after goblint filter: 6
Race categories: 4
	75(1) - 48(1) l1:
		l1#2 l1#4
		l1#3 l1#4
	75(1) - 60(1) l2:
		l2#2 l2#4
		l2#3 l2#4
	68(1) - 48(1) y:
		y#2 y#3
	68(1) - 60(1) y:
		y#2 y#4
Runtime Symex: 0.166282s
Adding SC constraints
Shared __CPROVER_threads_exited: 4R/3W
Shared __CPROVER_next_thread_id: 3R/3W
Shared y: 2R/2W
Shared x1: 1R/3W
Shared z1: 1R/2W
Shared l1: 2R/2W
Shared x2: 1R/3W
Shared z2: 1R/2W
Shared l2: 2R/2W
Shared main::1::t1!0@1: 2R/2W
Shared main::1::t2!0@1: 2R/2W
size of program expression: 325 steps
no slicing due to threads
Generated 0 VCC(s), 0 remaining after simplification
Runtime Postprocess Equation: 0.00105779s
Passing problem to propositional reduction
converting SSA
Runtime Convert SSA: 0.00182833s
Set Deagle solver's graph
Running propositional reduction
Post-processing
Runtime Post-process: 0.000749753s
Solving with Deagle's Closure solver
2774 variables, 7401 clauses
ClosureSolver finishes with 5 conflicts, 33 decisions, and 1856 propagations. 31 theory propagations and 2 cycles included.
SAT checker: instance is UNSATISFIABLE
Runtime Solver: 0.0013561s
Runtime decision procedure: 0.0105085s

** Results:
/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/security.wvr.c function main
[nodatarace.assertion.0] line 72 No data races on variable l1 between line 75 and line 48: SUCCESS
[nodatarace.assertion.1] line 72 No data races on variable l2 between line 75 and line 60: SUCCESS
[nodatarace.assertion.2] line 72 No data races on variable y between line 68 and line 48: SUCCESS
[nodatarace.assertion.3] line 72 No data races on variable y between line 68 and line 60: SUCCESS

** 0 of 4 failed (1 iterations)
VERIFICATION SUCCESSFUL
