./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'] [] [] [('multiple_of', '', '(((((((long long) \\old(m) * 2) < ((long long) \\old(n) + 1)) || (\\old(n) == \\old(m))) || (\\old(n) == 0)) || (((long long) \\old(n) + \\old(m)) < 1)) || (\\old(m) < 1))'), ('mult', '', '((((2 < \\result) || (\\result == 0)) || (\\old(m) < 2)) || (\\old(n) < 2))'), ('is_prime', '', '((\\old(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.035818s: Primes__verifast_instrumented.c(63,5-13): Function 'is_prime': Function prototype implementation check 0.035871s: Primes__verifast_instrumented.c(59,14-18): Producing assertion Primes__verifast_instrumented.c(63,5-13): Contract required