./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'] [] [('(((x + 1) % 2) < 1)', 20, True)] [('__VERIFIER_assert', '(\\old(cond) != 0)', '(\\old(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.035375s: odd__verifast_instrumented.c(24,5-9): Function 'main': Function type implementation check 0.035450s: /storage/repos/SV-Transformer-Library/verifast-24.08.30-2-gb1220004/bin/prelude.h(1084,18-24): Producing assertion 0.035465s: /storage/repos/SV-Transformer-Library/verifast-24.08.30-2-gb1220004/bin/prelude.h(1084,49-51): Producing assertion 0.035479s: /storage/repos/SV-Transformer-Library/verifast-24.08.30-2-gb1220004/bin/prelude.h(1084,61-62): Producing assertion 0.035488s: /storage/repos/SV-Transformer-Library/verifast-24.08.30-2-gb1220004/bin/prelude.h(1084,64-68): Producing assertion 0.035506s: odd__verifast_instrumented.c(24,29-35): Consuming assertion 0.035522s: odd__verifast_instrumented.c(25,13-17): Producing assertion 0.035533s: /storage/repos/SV-Transformer-Library/verifast-24.08.30-2-gb1220004/bin/prelude.h(1085,17-21): Consuming assertion 0.035541s: odd__verifast_instrumented.c(24,5-9): Cleaning up dummy fraction chunks 0.035550s: odd__verifast_instrumented.c(24,5-9): Leak check. 0.035587s: odd__verifast_instrumented.c(12,6-17): Verifying function 'reach_error' 0.035604s: odd__verifast_instrumented.c(12,33-38): Producing assertion 0.035622s: odd__verifast_instrumented.c(17,6-23): Verifying function '__VERIFIER_assert' 0.035632s: odd__verifast_instrumented.c(17,53-55): Producing assertion 0.035649s: odd__verifast_instrumented.c(17,6-23): Executing statement 0.035667s: odd__verifast_instrumented.c(19,4-6): Executing statement 0.035690s: odd__verifast_instrumented.c(22,3-9): Executing return statement 0.035705s: odd__verifast_instrumented.c(18,19-21): Consuming assertion 0.035716s: odd__verifast_instrumented.c(23,1-2): Cleaning up dummy fraction chunks 0.035724s: odd__verifast_instrumented.c(23,1-2): Leak check. 0.035739s: odd__verifast_instrumented.c(24,5-9): Verifying function 'main' 0.035747s: odd__verifast_instrumented.c(24,29-35): Producing assertion 0.035759s: odd__verifast_instrumented.c(27,9-20): Executing statement 0.035779s: odd__verifast_instrumented.c(24,5-9): Executing statement 0.035795s: odd__verifast_instrumented.c(28,18-19): Executing statement 0.035806s: odd__verifast_instrumented.c(29,3-8): Executing statement 0.035823s: odd__verifast_instrumented.c(30,30-31): Consuming assertion 0.035840s: odd__verifast_instrumented.c(30,30-31): Producing assertion 0.035860s: odd__verifast_instrumented.c(29,3-8): Evaluating loop condition 0.035879s: odd__verifast_instrumented.c(29,10-31): Verifying call 0.035888s: odd__verifast_instrumented.c(15,14-18): Consuming assertion 0.035905s: odd__verifast_instrumented.c(16,13-17): Producing assertion 0.035918s: odd__verifast_instrumented.c(31,1-2): Executing statement 0.035929s: odd__verifast_instrumented.c(32,7-9): Executing statement 0.035945s: odd__verifast_instrumented.c(30,30-31): Consuming assertion 0.035964s: odd__verifast_instrumented.c(30,30-31): Consuming expression odd__verifast_instrumented.c(30,30-31): Cannot prove condition. (Cannot prove %(((x + 2) + 1), 2) < 1.)