./verifast-validate-witness.sh sv-benchmarks/c/loop-invariants/odd.c ./results/automizer-verification-files/SV-COMP24_unreach-call/odd.yml/witness-2.1.yml -------------------------------------------------------------------------------- + PROGRAM=sv-benchmarks/c/loop-invariants/odd.c + WITNESS=./results/automizer-verification-files/SV-COMP24_unreach-call/odd.yml/witness-2.1.yml ++ basename sv-benchmarks/c/loop-invariants/odd.c + FILE=odd.c ++ echo odd ++ sed 's/[-\.]/_/g' - + SANITIZED=odd + INSTRUMENTED_PROGRAM=odd__verifast_instrumented.c + instrument_program_cli.py --program sv-benchmarks/c/loop-invariants/odd.c --witness ./results/automizer-verification-files/SV-COMP24_unreach-call/odd.yml/witness-2.1.yml --output-file odd__verifast_instrumented.c --verifast True ['abort', 'reach_error', '__VERIFIER_nondet_int', '__VERIFIER_assert', 'main'] [] ILP32 [('((((long long) x + 1) % 2) < 1)', 20, True)] [('__VERIFIER_assert', '(cond != 0)', '(cond != 0)')] [('((( x + 1) % 2) < 1)', 20, True)] [('abort', 'true', 'true'), ('reach_error', 'false', 'true'), ('__VERIFIER_nondet_int', 'true', 'true'), ('__VERIFIER_assert', '(cond != 0)', '(cond != 0)'), ('main', 'module(odd__verifast_instrumented, true)', 'junk()')] + sed -i 's|__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__noreturn__))||g' odd__verifast_instrumented.c + verifast -stats -verbose 2 -disable_overflow_check -allow_dead_code -target ILP32 -read_options_from_source_file -c odd__verifast_instrumented.c odd__verifast_instrumented.c 0.036354s: odd__verifast_instrumented.c(26,5-9): Function 'main': Function type implementation check 0.036423s: /storage/repos/SV-Transformer-Library/verifast-24.08.30-2-gb1220004/bin/prelude.h(1084,18-24): Producing assertion 0.036438s: /storage/repos/SV-Transformer-Library/verifast-24.08.30-2-gb1220004/bin/prelude.h(1084,49-51): Producing assertion 0.036453s: /storage/repos/SV-Transformer-Library/verifast-24.08.30-2-gb1220004/bin/prelude.h(1084,61-62): Producing assertion 0.036464s: /storage/repos/SV-Transformer-Library/verifast-24.08.30-2-gb1220004/bin/prelude.h(1084,64-68): Producing assertion 0.036484s: odd__verifast_instrumented.c(27,14-20): Consuming assertion 0.036500s: odd__verifast_instrumented.c(28,13-17): Producing assertion 0.036512s: /storage/repos/SV-Transformer-Library/verifast-24.08.30-2-gb1220004/bin/prelude.h(1085,17-21): Consuming assertion 0.036521s: odd__verifast_instrumented.c(26,5-9): Cleaning up dummy fraction chunks 0.036529s: odd__verifast_instrumented.c(26,5-9): Leak check. 0.036583s: odd__verifast_instrumented.c(12,6-17): Verifying function 'reach_error' 0.036598s: odd__verifast_instrumented.c(13,14-19): Producing assertion 0.036623s: odd__verifast_instrumented.c(18,6-23): Verifying function '__VERIFIER_assert' 0.036632s: odd__verifast_instrumented.c(19,20-22): Producing assertion 0.036651s: odd__verifast_instrumented.c(18,6-23): Executing statement 0.036667s: odd__verifast_instrumented.c(21,4-6): Executing statement 0.036687s: odd__verifast_instrumented.c(24,3-9): Executing return statement 0.036703s: odd__verifast_instrumented.c(20,19-21): Consuming assertion 0.036714s: odd__verifast_instrumented.c(25,1-2): Cleaning up dummy fraction chunks 0.036722s: odd__verifast_instrumented.c(25,1-2): Leak check. 0.036737s: odd__verifast_instrumented.c(26,5-9): Verifying function 'main' 0.036746s: odd__verifast_instrumented.c(27,14-20): Producing assertion 0.036758s: odd__verifast_instrumented.c(30,9-20): Executing statement 0.036778s: odd__verifast_instrumented.c(26,5-9): Executing statement 0.036794s: odd__verifast_instrumented.c(31,18-19): Executing statement 0.036805s: odd__verifast_instrumented.c(32,1-6): Executing statement 0.036819s: odd__verifast_instrumented.c(33,31-32): Consuming assertion 0.036836s: odd__verifast_instrumented.c(33,31-32): Producing assertion 0.036859s: odd__verifast_instrumented.c(32,1-6): Evaluating loop condition 0.036880s: odd__verifast_instrumented.c(32,8-29): Verifying call 0.036890s: odd__verifast_instrumented.c(16,14-18): Consuming assertion 0.036909s: odd__verifast_instrumented.c(17,13-17): Producing assertion 0.036923s: odd__verifast_instrumented.c(34,5-6): Executing statement 0.036933s: odd__verifast_instrumented.c(35,7-9): Executing statement 0.036950s: odd__verifast_instrumented.c(33,31-32): Consuming assertion 0.036970s: odd__verifast_instrumented.c(33,31-32): Consuming expression odd__verifast_instrumented.c(33,31-32): Cannot prove condition. (Cannot prove %(((x + 2) + 1), 2) < 1.)