./verifast-validate-witness.sh sv-benchmarks/c/loop-invariants/even.c ./results/automizer-verification-files/SV-COMP24_unreach-call/even.yml/witness-2.1.yml -------------------------------------------------------------------------------- + PROGRAM=sv-benchmarks/c/loop-invariants/even.c + WITNESS=./results/automizer-verification-files/SV-COMP24_unreach-call/even.yml/witness-2.1.yml ++ basename sv-benchmarks/c/loop-invariants/even.c + FILE=even.c ++ echo even ++ sed 's/[-\.]/_/g' - + SANITIZED=even + INSTRUMENTED_PROGRAM=even__verifast_instrumented.c + instrument_program_cli.py --program sv-benchmarks/c/loop-invariants/even.c --witness ./results/automizer-verification-files/SV-COMP24_unreach-call/even.yml/witness-2.1.yml --output-file even__verifast_instrumented.c --verifast True ['abort', 'reach_error', '__VERIFIER_nondet_int', '__VERIFIER_assert', 'main'] [] [('((x % 2) == 0)', 20, True)] [('__VERIFIER_assert', '(\\old(cond) != 0)', '(\\old(cond) != 0)')] [('((x % 2) == 0)', 20, True)] [('abort', 'true', 'true'), ('reach_error', 'false', 'true'), ('__VERIFIER_nondet_int', 'true', 'true'), ('__VERIFIER_assert', '(cond != 0)', '(cond != 0)'), ('main', 'module(even__verifast_instrumented, true)', 'junk()')] + sed -i 's|__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__noreturn__))||g' even__verifast_instrumented.c + verifast -stats -verbose 2 -disable_overflow_check -allow_dead_code -target ILP32 -read_options_from_source_file -c even__verifast_instrumented.c even__verifast_instrumented.c 0.035746s: even__verifast_instrumented.c(24,5-9): Function 'main': Function type implementation check 0.035807s: /storage/repos/SV-Transformer-Library/verifast-24.08.30-2-gb1220004/bin/prelude.h(1084,18-24): Producing assertion 0.035823s: /storage/repos/SV-Transformer-Library/verifast-24.08.30-2-gb1220004/bin/prelude.h(1084,49-51): Producing assertion 0.035837s: /storage/repos/SV-Transformer-Library/verifast-24.08.30-2-gb1220004/bin/prelude.h(1084,61-62): Producing assertion 0.035846s: /storage/repos/SV-Transformer-Library/verifast-24.08.30-2-gb1220004/bin/prelude.h(1084,64-68): Producing assertion 0.035865s: even__verifast_instrumented.c(24,29-35): Consuming assertion 0.035881s: even__verifast_instrumented.c(25,13-17): Producing assertion 0.035893s: /storage/repos/SV-Transformer-Library/verifast-24.08.30-2-gb1220004/bin/prelude.h(1085,17-21): Consuming assertion 0.035902s: even__verifast_instrumented.c(24,5-9): Cleaning up dummy fraction chunks 0.035910s: even__verifast_instrumented.c(24,5-9): Leak check. 0.035959s: even__verifast_instrumented.c(12,6-17): Verifying function 'reach_error' 0.035972s: even__verifast_instrumented.c(12,33-38): Producing assertion 0.035990s: even__verifast_instrumented.c(17,6-23): Verifying function '__VERIFIER_assert' 0.035999s: even__verifast_instrumented.c(17,53-55): Producing assertion 0.036017s: even__verifast_instrumented.c(17,6-23): Executing statement 0.036033s: even__verifast_instrumented.c(19,4-6): Executing statement 0.036060s: even__verifast_instrumented.c(22,3-9): Executing return statement 0.036076s: even__verifast_instrumented.c(18,19-21): Consuming assertion 0.036086s: even__verifast_instrumented.c(23,1-2): Cleaning up dummy fraction chunks 0.036095s: even__verifast_instrumented.c(23,1-2): Leak check. 0.036110s: even__verifast_instrumented.c(24,5-9): Verifying function 'main' 0.036118s: even__verifast_instrumented.c(24,29-35): Producing assertion 0.036130s: even__verifast_instrumented.c(27,9-20): Executing statement 0.036150s: even__verifast_instrumented.c(24,5-9): Executing statement 0.036166s: even__verifast_instrumented.c(28,18-19): Executing statement 0.036177s: even__verifast_instrumented.c(29,3-8): Executing statement 0.036189s: even__verifast_instrumented.c(30,24-26): Consuming assertion 0.036205s: even__verifast_instrumented.c(30,24-26): Producing assertion 0.036218s: even__verifast_instrumented.c(29,3-8): Evaluating loop condition 0.036237s: even__verifast_instrumented.c(29,10-31): Verifying call 0.036246s: even__verifast_instrumented.c(15,14-18): Consuming assertion 0.036264s: even__verifast_instrumented.c(16,13-17): Producing assertion 0.036276s: even__verifast_instrumented.c(31,1-2): Executing statement 0.036288s: even__verifast_instrumented.c(32,7-9): Executing statement 0.036304s: even__verifast_instrumented.c(30,24-26): Consuming assertion 0.036324s: even__verifast_instrumented.c(30,24-26): Consuming expression even__verifast_instrumented.c(30,24-26): Cannot prove condition. (Cannot prove %((x + 2), 2) = 0.)