./verifast-validate-witness.sh sv-benchmarks/c/loops-crafted-1/nested5-1.c ./results/automizer-verification-files/SV-COMP24_unreach-call/nested5-1.yml/witness-2.1.yml -------------------------------------------------------------------------------- + PROGRAM=sv-benchmarks/c/loops-crafted-1/nested5-1.c + WITNESS=./results/automizer-verification-files/SV-COMP24_unreach-call/nested5-1.yml/witness-2.1.yml ++ basename sv-benchmarks/c/loops-crafted-1/nested5-1.c + FILE=nested5-1.c ++ echo nested5-1 ++ sed 's/[-\.]/_/g' - + SANITIZED=nested5_1 + INSTRUMENTED_PROGRAM=nested5_1__verifast_instrumented.c + instrument_program_cli.py --program sv-benchmarks/c/loops-crafted-1/nested5-1.c --witness ./results/automizer-verification-files/SV-COMP24_unreach-call/nested5-1.yml/witness-2.1.yml --output-file nested5_1__verifast_instrumented.c --verifast True ['abort', 'reach_error', '__VERIFIER_assert', 'main'] [] [('((v == 0) || (((v + 4294967295) % 4294967296) < 10))', 23, True)] [('__VERIFIER_assert', '((0 <= \\old(cond)) && (\\old(cond) <= 3))', '((0 <= \\old(cond)) && (\\old(cond) <= 3))')] [('((v == 0) || (((v + 4294967295) % 4294967296) < 10))', 23, True)] [('abort', 'true', 'true'), ('reach_error', 'false', 'true'), ('__VERIFIER_assert', '((0 <= cond) && (cond <= 3))', '((0 <= cond) && (cond <= 3))'), ('main', 'module(nested5_1__verifast_instrumented, true)', 'junk()')] Traceback (most recent call last): File "/storage/repos/SV-Transformer-Library/src/witness_transformer/instrument_program_cli.py", line 66, in instrument_program() File "/storage/repos/SV-Transformer-Library/src/witness_transformer/instrument_program_cli.py", line 57, in instrument_program Verifast.main.main(args.program, args.witness, args.output_file) File "/storage/repos/SV-Transformer-Library/src/witness_transformer/Verifast/main.py", line 36, in main Verifast.annotations_writing.insert_annotations_in_code(c_input_file_path, c_output_file_path, File "/storage/repos/SV-Transformer-Library/src/witness_transformer/Verifast/annotations_writing.py", line 120, in insert_annotations_in_code lines = insert_invariants_in_code(lines, invariants) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/storage/repos/SV-Transformer-Library/src/witness_transformer/Verifast/annotations_writing.py", line 79, in insert_invariants_in_code while '{' not in lines[line_index] and line_index < len(lines): ~~~~~^^^^^^^^^^^^ IndexError: list index out of range