./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'] [] ILP32 [('((x % 4) == 0)', 20, True)] [('__VERIFIER_assert', '(cond != 0)', '(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.036731s: mod4__verifast_instrumented.c(26,5-9): Function 'main': Function type implementation check 0.036794s: /storage/repos/SV-Transformer-Library/verifast-24.08.30-2-gb1220004/bin/prelude.h(1084,18-24): Producing assertion 0.036809s: /storage/repos/SV-Transformer-Library/verifast-24.08.30-2-gb1220004/bin/prelude.h(1084,49-51): Producing assertion 0.036824s: /storage/repos/SV-Transformer-Library/verifast-24.08.30-2-gb1220004/bin/prelude.h(1084,61-62): Producing assertion 0.036834s: /storage/repos/SV-Transformer-Library/verifast-24.08.30-2-gb1220004/bin/prelude.h(1084,64-68): Producing assertion 0.036852s: mod4__verifast_instrumented.c(27,14-20): Consuming assertion 0.036867s: mod4__verifast_instrumented.c(28,13-17): Producing assertion 0.036878s: /storage/repos/SV-Transformer-Library/verifast-24.08.30-2-gb1220004/bin/prelude.h(1085,17-21): Consuming assertion 0.036887s: mod4__verifast_instrumented.c(26,5-9): Cleaning up dummy fraction chunks 0.036895s: mod4__verifast_instrumented.c(26,5-9): Leak check. 0.036934s: mod4__verifast_instrumented.c(12,6-17): Verifying function 'reach_error' 0.036949s: mod4__verifast_instrumented.c(13,14-19): Producing assertion 0.036968s: mod4__verifast_instrumented.c(18,6-23): Verifying function '__VERIFIER_assert' 0.036978s: mod4__verifast_instrumented.c(19,20-22): Producing assertion 0.037000s: mod4__verifast_instrumented.c(18,6-23): Executing statement 0.037015s: mod4__verifast_instrumented.c(21,4-6): Executing statement 0.037041s: mod4__verifast_instrumented.c(24,3-9): Executing return statement 0.037056s: mod4__verifast_instrumented.c(20,19-21): Consuming assertion 0.037066s: mod4__verifast_instrumented.c(25,1-2): Cleaning up dummy fraction chunks 0.037074s: mod4__verifast_instrumented.c(25,1-2): Leak check. 0.037090s: mod4__verifast_instrumented.c(26,5-9): Verifying function 'main' 0.037098s: mod4__verifast_instrumented.c(27,14-20): Producing assertion 0.037109s: mod4__verifast_instrumented.c(30,9-20): Executing statement 0.037131s: mod4__verifast_instrumented.c(26,5-9): Executing statement 0.037148s: mod4__verifast_instrumented.c(31,18-19): Executing statement 0.037160s: mod4__verifast_instrumented.c(32,1-6): Executing statement 0.037173s: mod4__verifast_instrumented.c(33,24-26): Consuming assertion 0.037190s: mod4__verifast_instrumented.c(33,24-26): Producing assertion 0.037204s: mod4__verifast_instrumented.c(32,1-6): Evaluating loop condition 0.037222s: mod4__verifast_instrumented.c(32,8-29): Verifying call 0.037231s: mod4__verifast_instrumented.c(16,14-18): Consuming assertion 0.037249s: mod4__verifast_instrumented.c(17,13-17): Producing assertion 0.037262s: mod4__verifast_instrumented.c(34,5-6): Executing statement 0.037274s: mod4__verifast_instrumented.c(35,7-9): Executing statement 0.037289s: mod4__verifast_instrumented.c(33,24-26): Consuming assertion 0.037311s: mod4__verifast_instrumented.c(33,24-26): Consuming expression mod4__verifast_instrumented.c(33,24-26): Cannot prove condition. (Cannot prove %((x + 4), 4) = 0.)