./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.035969s: Primes__verifast_instrumented.c(62,5-13): Function 'is_prime': Function prototype implementation check 0.036017s: Primes__verifast_instrumented.c(59,5-13): Producing assertion 0.036048s: Primes__verifast_instrumented.c(69,5-14): Function 'is_prime_': Function prototype implementation check 0.036058s: Primes__verifast_instrumented.c(58,5-14): Producing assertion 0.036089s: Primes__verifast_instrumented.c(90,5-9): Function 'main': Function type implementation check 0.036101s: /storage/repos/SV-Transformer-Library/verifast-24.08.30-2-gb1220004/bin/prelude.h(1084,18-24): Producing assertion 0.036114s: /storage/repos/SV-Transformer-Library/verifast-24.08.30-2-gb1220004/bin/prelude.h(1084,49-51): Producing assertion 0.036133s: /storage/repos/SV-Transformer-Library/verifast-24.08.30-2-gb1220004/bin/prelude.h(1084,61-62): Producing assertion 0.036142s: /storage/repos/SV-Transformer-Library/verifast-24.08.30-2-gb1220004/bin/prelude.h(1084,64-68): Producing assertion 0.036156s: Primes__verifast_instrumented.c(91,14-20): Consuming assertion 0.036172s: Primes__verifast_instrumented.c(92,13-17): Producing assertion 0.036188s: /storage/repos/SV-Transformer-Library/verifast-24.08.30-2-gb1220004/bin/prelude.h(1085,17-21): Consuming assertion 0.036197s: Primes__verifast_instrumented.c(90,5-9): Cleaning up dummy fraction chunks 0.036205s: Primes__verifast_instrumented.c(90,5-9): Leak check. 0.036246s: Primes__verifast_instrumented.c(5,6-17): Verifying function 'reach_error' 0.036256s: Primes__verifast_instrumented.c(6,14-19): Producing assertion 0.036282s: Primes__verifast_instrumented.c(23,5-9): Verifying function 'mult' 0.036296s: Primes__verifast_instrumented.c(24,14-18): Producing assertion 0.036312s: Primes__verifast_instrumented.c(23,5-9): Executing statement 0.036328s: Primes__verifast_instrumented.c(26,6-8): Executing statement 0.036352s: Primes__verifast_instrumented.c(26,17-18): Executing statement 0.036372s: Primes__verifast_instrumented.c(27,9-15): Executing return statement 0.036389s: Primes__verifast_instrumented.c(27,16-20): Verifying call 0.036398s: Primes__verifast_instrumented.c(24,14-18): Consuming assertion 0.036418s: Primes__verifast_instrumented.c(25,59-61): Producing assertion 0.036461s: Primes__verifast_instrumented.c(25,59-61): Consuming assertion 0.036493s: Primes__verifast_instrumented.c(36,1-2): Cleaning up dummy fraction chunks 0.036502s: Primes__verifast_instrumented.c(36,1-2): Leak check. 0.036518s: Primes__verifast_instrumented.c(29,5-7): Executing statement 0.036539s: Primes__verifast_instrumented.c(29,17-18): Executing statement 0.036550s: Primes__verifast_instrumented.c(30,9-15): Executing return statement 0.036565s: Primes__verifast_instrumented.c(25,59-61): Consuming assertion 0.036584s: Primes__verifast_instrumented.c(36,1-2): Cleaning up dummy fraction chunks 0.036593s: Primes__verifast_instrumented.c(36,1-2): Leak check. 0.036605s: Primes__verifast_instrumented.c(32,5-7): Executing statement 0.036627s: Primes__verifast_instrumented.c(32,17-18): Executing statement 0.036639s: Primes__verifast_instrumented.c(33,9-15): Executing return statement 0.036653s: Primes__verifast_instrumented.c(25,59-61): Consuming assertion 0.036680s: Primes__verifast_instrumented.c(36,1-2): Cleaning up dummy fraction chunks 0.036689s: Primes__verifast_instrumented.c(36,1-2): Leak check. 0.036702s: Primes__verifast_instrumented.c(35,5-11): Executing return statement 0.036715s: Primes__verifast_instrumented.c(35,16-20): Verifying call 0.036724s: Primes__verifast_instrumented.c(24,14-18): Consuming assertion 0.036737s: Primes__verifast_instrumented.c(25,59-61): Producing assertion 0.036774s: Primes__verifast_instrumented.c(25,59-61): Consuming assertion 0.037540s: 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.)