./verifast-validate-witness.sh sv-benchmarks/c/recursive/Primes.c ./results/automizer-verification-files/SV-COMP24_unreach-call/Primes.yml/witness-2.1.yml -------------------------------------------------------------------------------- + PROGRAM=sv-benchmarks/c/recursive/Primes.c + WITNESS=./results/automizer-verification-files/SV-COMP24_unreach-call/Primes.yml/witness-2.1.yml ++ basename sv-benchmarks/c/recursive/Primes.c + FILE=Primes.c ++ echo Primes ++ sed 's/[-\.]/_/g' - + SANITIZED=Primes + INSTRUMENTED_PROGRAM=Primes__verifast_instrumented.c + instrument_program_cli.py --program sv-benchmarks/c/recursive/Primes.c --witness ./results/automizer-verification-files/SV-COMP24_unreach-call/Primes.yml/witness-2.1.yml --output-file Primes__verifast_instrumented.c --verifast True ['abort', 'reach_error', '__VERIFIER_nondet_int', 'mult', 'multiple_of', 'is_prime_', 'is_prime', 'main'] [] ILP32 [] [('multiple_of', '', '(((((((long long) m * 2) < ((long long) n + 1)) || (n == m)) || (n == 0)) || (((long long) n + m) < 1)) || (m < 1))'), ('mult', '', '((((2 < \\result) || (\\result == 0)) || (m < 2)) || (n < 2))'), ('is_prime', '', '((n < 3) || (\\result == 0))')] [] [('abort', 'true', 'true'), ('reach_error', 'false', 'true'), ('__VERIFIER_nondet_int', 'true', 'true'), ('mult', 'true', '((((2 < result) || (result == 0)) || (m < 2)) || (n < 2))'), ('multiple_of', 'true', '((((((m * 2) < (n + 1)) || (n == m)) || (n == 0)) || ((n + m) < 1)) || (m < 1))'), ('is_prime_', 'true', 'true'), ('is_prime', 'true', '((n < 3) || (result == 0))'), ('main', 'module(Primes__verifast_instrumented, true)', 'junk()')] + sed -i 's|__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__noreturn__))||g' Primes__verifast_instrumented.c + verifast -stats -verbose 2 -disable_overflow_check -allow_dead_code -target ILP32 -read_options_from_source_file -c Primes__verifast_instrumented.c Primes__verifast_instrumented.c 0.036322s: Primes__verifast_instrumented.c(62,5-13): Function 'is_prime': Function prototype implementation check 0.036372s: Primes__verifast_instrumented.c(59,5-13): Producing assertion 0.036400s: Primes__verifast_instrumented.c(69,5-14): Function 'is_prime_': Function prototype implementation check 0.036412s: Primes__verifast_instrumented.c(58,5-14): Producing assertion 0.036442s: Primes__verifast_instrumented.c(90,5-9): Function 'main': Function type implementation check 0.036456s: /storage/repos/SV-Transformer-Library/verifast-24.08.30-2-gb1220004/bin/prelude.h(1084,18-24): Producing assertion 0.036479s: /storage/repos/SV-Transformer-Library/verifast-24.08.30-2-gb1220004/bin/prelude.h(1084,49-51): Producing assertion 0.036498s: /storage/repos/SV-Transformer-Library/verifast-24.08.30-2-gb1220004/bin/prelude.h(1084,61-62): Producing assertion 0.036509s: /storage/repos/SV-Transformer-Library/verifast-24.08.30-2-gb1220004/bin/prelude.h(1084,64-68): Producing assertion 0.036522s: Primes__verifast_instrumented.c(91,14-20): Consuming assertion 0.036538s: Primes__verifast_instrumented.c(92,13-17): Producing assertion 0.036556s: /storage/repos/SV-Transformer-Library/verifast-24.08.30-2-gb1220004/bin/prelude.h(1085,17-21): Consuming assertion 0.036566s: Primes__verifast_instrumented.c(90,5-9): Cleaning up dummy fraction chunks 0.036575s: Primes__verifast_instrumented.c(90,5-9): Leak check. 0.036616s: Primes__verifast_instrumented.c(5,6-17): Verifying function 'reach_error' 0.036627s: Primes__verifast_instrumented.c(6,14-19): Producing assertion 0.036649s: Primes__verifast_instrumented.c(23,5-9): Verifying function 'mult' 0.036663s: Primes__verifast_instrumented.c(24,14-18): Producing assertion 0.036680s: Primes__verifast_instrumented.c(23,5-9): Executing statement 0.036696s: Primes__verifast_instrumented.c(26,6-8): Executing statement 0.036721s: Primes__verifast_instrumented.c(26,17-18): Executing statement 0.036733s: Primes__verifast_instrumented.c(27,9-15): Executing return statement 0.036750s: Primes__verifast_instrumented.c(27,16-20): Verifying call 0.036760s: Primes__verifast_instrumented.c(24,14-18): Consuming assertion 0.036779s: Primes__verifast_instrumented.c(25,59-61): Producing assertion 0.036818s: Primes__verifast_instrumented.c(25,59-61): Consuming assertion 0.036849s: Primes__verifast_instrumented.c(36,1-2): Cleaning up dummy fraction chunks 0.036858s: Primes__verifast_instrumented.c(36,1-2): Leak check. 0.036874s: Primes__verifast_instrumented.c(29,5-7): Executing statement 0.036895s: Primes__verifast_instrumented.c(29,17-18): Executing statement 0.036907s: Primes__verifast_instrumented.c(30,9-15): Executing return statement 0.036922s: Primes__verifast_instrumented.c(25,59-61): Consuming assertion 0.036940s: Primes__verifast_instrumented.c(36,1-2): Cleaning up dummy fraction chunks 0.036949s: Primes__verifast_instrumented.c(36,1-2): Leak check. 0.036961s: Primes__verifast_instrumented.c(32,5-7): Executing statement 0.036985s: Primes__verifast_instrumented.c(32,17-18): Executing statement 0.036995s: Primes__verifast_instrumented.c(33,9-15): Executing return statement 0.037010s: Primes__verifast_instrumented.c(25,59-61): Consuming assertion 0.037037s: Primes__verifast_instrumented.c(36,1-2): Cleaning up dummy fraction chunks 0.037045s: Primes__verifast_instrumented.c(36,1-2): Leak check. 0.037057s: Primes__verifast_instrumented.c(35,5-11): Executing return statement 0.037071s: Primes__verifast_instrumented.c(35,16-20): Verifying call 0.037080s: Primes__verifast_instrumented.c(24,14-18): Consuming assertion 0.037093s: Primes__verifast_instrumented.c(25,59-61): Producing assertion 0.037129s: Primes__verifast_instrumented.c(25,59-61): Consuming assertion 0.037926s: Primes__verifast_instrumented.c(25,59-61): Consuming expression Primes__verifast_instrumented.c(25,59-61): Cannot prove condition. (Cannot prove 2 < (n + result) || (n + result) = 0 || m < 2 || n < 2.)