./verifast-validate-witness.sh sv-benchmarks/c/loop-invariants/mod4.c ./results/automizer-verification-files/SV-COMP24_unreach-call/mod4.yml/witness-2.1.yml -------------------------------------------------------------------------------- + PROGRAM=sv-benchmarks/c/loop-invariants/mod4.c + WITNESS=./results/automizer-verification-files/SV-COMP24_unreach-call/mod4.yml/witness-2.1.yml ++ basename sv-benchmarks/c/loop-invariants/mod4.c + FILE=mod4.c ++ echo mod4 ++ sed 's/[-\.]/_/g' - + SANITIZED=mod4 + INSTRUMENTED_PROGRAM=mod4__verifast_instrumented.c + instrument_program_cli.py --program sv-benchmarks/c/loop-invariants/mod4.c --witness ./results/automizer-verification-files/SV-COMP24_unreach-call/mod4.yml/witness-2.1.yml --output-file mod4__verifast_instrumented.c --verifast True ['abort', 'reach_error', '__VERIFIER_nondet_int', '__VERIFIER_assert', 'main'] [] [('((x % 4) == 0)', 20, True)] [('__VERIFIER_assert', '(\\old(cond) != 0)', '(\\old(cond) != 0)')] [('((x % 4) == 0)', 20, True)] [('abort', 'true', 'true'), ('reach_error', 'false', 'true'), ('__VERIFIER_nondet_int', 'true', 'true'), ('__VERIFIER_assert', '(cond != 0)', '(cond != 0)'), ('main', 'module(mod4__verifast_instrumented, true)', 'junk()')] + sed -i 's|__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__noreturn__))||g' mod4__verifast_instrumented.c + verifast -stats -verbose 2 -disable_overflow_check -allow_dead_code -target ILP32 -read_options_from_source_file -c mod4__verifast_instrumented.c mod4__verifast_instrumented.c 0.036584s: mod4__verifast_instrumented.c(24,5-9): Function 'main': Function type implementation check 0.036653s: /storage/repos/SV-Transformer-Library/verifast-24.08.30-2-gb1220004/bin/prelude.h(1084,18-24): Producing assertion 0.036668s: /storage/repos/SV-Transformer-Library/verifast-24.08.30-2-gb1220004/bin/prelude.h(1084,49-51): Producing assertion 0.036683s: /storage/repos/SV-Transformer-Library/verifast-24.08.30-2-gb1220004/bin/prelude.h(1084,61-62): Producing assertion 0.036692s: /storage/repos/SV-Transformer-Library/verifast-24.08.30-2-gb1220004/bin/prelude.h(1084,64-68): Producing assertion 0.036711s: mod4__verifast_instrumented.c(24,29-35): Consuming assertion 0.036728s: mod4__verifast_instrumented.c(25,13-17): Producing assertion 0.036739s: /storage/repos/SV-Transformer-Library/verifast-24.08.30-2-gb1220004/bin/prelude.h(1085,17-21): Consuming assertion 0.036749s: mod4__verifast_instrumented.c(24,5-9): Cleaning up dummy fraction chunks 0.036757s: mod4__verifast_instrumented.c(24,5-9): Leak check. 0.036799s: mod4__verifast_instrumented.c(12,6-17): Verifying function 'reach_error' 0.036810s: mod4__verifast_instrumented.c(12,33-38): Producing assertion 0.036829s: mod4__verifast_instrumented.c(17,6-23): Verifying function '__VERIFIER_assert' 0.036838s: mod4__verifast_instrumented.c(17,53-55): Producing assertion 0.036863s: mod4__verifast_instrumented.c(17,6-23): Executing statement 0.036881s: mod4__verifast_instrumented.c(19,4-6): Executing statement 0.036906s: mod4__verifast_instrumented.c(22,3-9): Executing return statement 0.036922s: mod4__verifast_instrumented.c(18,19-21): Consuming assertion 0.036932s: mod4__verifast_instrumented.c(23,1-2): Cleaning up dummy fraction chunks 0.036941s: mod4__verifast_instrumented.c(23,1-2): Leak check. 0.036959s: mod4__verifast_instrumented.c(24,5-9): Verifying function 'main' 0.036968s: mod4__verifast_instrumented.c(24,29-35): Producing assertion 0.036980s: mod4__verifast_instrumented.c(27,9-20): Executing statement 0.036998s: mod4__verifast_instrumented.c(24,5-9): Executing statement 0.037014s: mod4__verifast_instrumented.c(28,18-19): Executing statement 0.037025s: mod4__verifast_instrumented.c(29,3-8): Executing statement 0.037038s: mod4__verifast_instrumented.c(30,24-26): Consuming assertion 0.037055s: mod4__verifast_instrumented.c(30,24-26): Producing assertion 0.037068s: mod4__verifast_instrumented.c(29,3-8): Evaluating loop condition 0.037088s: mod4__verifast_instrumented.c(29,10-31): Verifying call 0.037097s: mod4__verifast_instrumented.c(15,14-18): Consuming assertion 0.037115s: mod4__verifast_instrumented.c(16,13-17): Producing assertion 0.037128s: mod4__verifast_instrumented.c(31,1-2): Executing statement 0.037138s: mod4__verifast_instrumented.c(32,7-9): Executing statement 0.037156s: mod4__verifast_instrumented.c(30,24-26): Consuming assertion 0.037177s: mod4__verifast_instrumented.c(30,24-26): Consuming expression mod4__verifast_instrumented.c(30,24-26): Cannot prove condition. (Cannot prove %((x + 4), 4) = 0.)