./verifast-validate-witness.sh sv-benchmarks/c/loops-crafted-1/sum_by_3.c ./results/automizer-verification-files/SV-COMP24_unreach-call/sum_by_3.yml/witness-2.1.yml -------------------------------------------------------------------------------- + PROGRAM=sv-benchmarks/c/loops-crafted-1/sum_by_3.c + WITNESS=./results/automizer-verification-files/SV-COMP24_unreach-call/sum_by_3.yml/witness-2.1.yml ++ basename sv-benchmarks/c/loops-crafted-1/sum_by_3.c + FILE=sum_by_3.c ++ echo sum_by_3 ++ sed 's/[-\.]/_/g' - + SANITIZED=sum_by_3 + INSTRUMENTED_PROGRAM=sum_by_3__verifast_instrumented.c + instrument_program_cli.py --program sv-benchmarks/c/loops-crafted-1/sum_by_3.c --witness ./results/automizer-verification-files/SV-COMP24_unreach-call/sum_by_3.yml/witness-2.1.yml --output-file sum_by_3__verifast_instrumented.c --verifast True ['abort', 'reach_error', 'assume_abort_if_not', '__VERIFIER_assert', '__VERIFIER_nondet_uint', 'main'] [('int', 'SIZE')] [('((((((SIZE == 20000001) && (n <= k)) && ((((i + k) + j) / 3) <= 20000001)) && (n <= ((unsigned) j % 4294967296))) && ((((((long long) j * 2) + i) % 4294967296) / 3) <= 20000001)) && (((i * 3) / 3) <= 20000001))', 29, True), ('(((((n <= i) && (SIZE == 20000001)) && (n <= ((unsigned) j % 4294967296))) && ((((((long long) j * 2) + i) % 4294967296) / 3) <= 20000001)) && (((i * 3) / 3) <= 20000001))', 25, True), ('((((i == 0) && (n <= 20000001)) || (((((i + 4294967295) % 4294967296) + 1) <= n) && (n <= 20000001))) && (SIZE == 20000001))', 21, True)] [('main', '(SIZE == 20000001)', '(SIZE == 20000001)'), ('__VERIFIER_assert', '((\\old(cond) != 0) && (SIZE == 20000001))', '((\\old(cond) != 0) && (SIZE == 20000001))')] [('integer(&SIZE, ?veri_inv_SIZE) &*& ((((((veri_inv_SIZE == 20000001) && (n <= k)) && ((((i + k) + j) / 3) <= 20000001)) && (n <= (j % 4294967296))) && ((((( j * 2) + i) % 4294967296) / 3) <= 20000001)) && (((i * 3) / 3) <= 20000001))', 29, True), ('integer(&SIZE, ?veri_inv_SIZE) &*& (((((n <= i) && (veri_inv_SIZE == 20000001)) && (n <= (j % 4294967296))) && ((((( j * 2) + i) % 4294967296) / 3) <= 20000001)) && (((i * 3) / 3) <= 20000001))', 25, True), ('integer(&SIZE, ?veri_inv_SIZE) &*& ((((i == 0) && (n <= 20000001)) || (((((i + 4294967295) % 4294967296) + 1) <= n) && (n <= 20000001))) && (veri_inv_SIZE == 20000001))', 21, True)] [('abort', 'integer(&SIZE, ?veri_req_SIZE) &*& true', 'integer(&SIZE, ?veri_ens_SIZE) &*& true'), ('reach_error', 'false', 'true'), ('assume_abort_if_not', 'integer(&SIZE, ?veri_req_SIZE) &*& true', 'integer(&SIZE, ?veri_ens_SIZE) &*& true'), ('__VERIFIER_assert', 'integer(&SIZE, ?veri_req_SIZE) &*& ((cond != 0) && (veri_req_SIZE == 20000001))', 'integer(&SIZE, ?veri_ens_SIZE) &*& ((cond != 0) && (veri_ens_SIZE == 20000001))'), ('__VERIFIER_nondet_uint', 'integer(&SIZE, ?veri_req_SIZE) &*& true', 'integer(&SIZE, ?veri_ens_SIZE) &*& true'), ('main', 'module(sum_by_3__verifast_instrumented, true) &*& (SIZE == 20000001)', '(SIZE == 20000001) &*& junk()')] + sed -i 's|__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__noreturn__))||g' sum_by_3__verifast_instrumented.c + verifast -stats -verbose 2 -disable_overflow_check -allow_dead_code -target ILP32 -read_options_from_source_file -c sum_by_3__verifast_instrumented.c sum_by_3__verifast_instrumented.c sum_by_3__verifast_instrumented.c(7,67-72): Duplicate function prototype.