./verifast-validate-witness.sh sv-benchmarks/c/loop-lit/hhk2008.i ./results/automizer-verification-files/SV-COMP24_unreach-call/hhk2008.yml/witness-2.1.yml


--------------------------------------------------------------------------------


+ PROGRAM=sv-benchmarks/c/loop-lit/hhk2008.i
+ WITNESS=./results/automizer-verification-files/SV-COMP24_unreach-call/hhk2008.yml/witness-2.1.yml
++ basename sv-benchmarks/c/loop-lit/hhk2008.i
+ FILE=hhk2008.i
++ echo hhk2008
++ sed 's/[-\.]/_/g' -
+ SANITIZED=hhk2008
+ INSTRUMENTED_PROGRAM=hhk2008__verifast_instrumented.c
+ instrument_program_cli.py --program sv-benchmarks/c/loop-lit/hhk2008.i --witness ./results/automizer-verification-files/SV-COMP24_unreach-call/hhk2008.yml/witness-2.1.yml --output-file hhk2008__verifast_instrumented.c --verifast True
['abort', 'reach_error', 'assume_abort_if_not', '__VERIFIER_assert', '__VERIFIER_nondet_int', 'main']
[]
ILP32
[('((res <= ((long long) b + a)) && (((long long) cnt + res) == ((long long) b + a)))', 32, True)]
[('__VERIFIER_assert', '(cond != 0)', '(cond != 0)')]
[('((res <= (b + a)) && ((cnt + res) == (b + a)))', 32, True)]
[('abort', 'true', 'true'), ('reach_error', 'false', 'true'), ('assume_abort_if_not', 'true', 'true'), ('__VERIFIER_assert', '(cond != 0)', '(cond != 0)'), ('__VERIFIER_nondet_int', 'true', 'true'), ('main', 'module(hhk2008__verifast_instrumented, true)', 'junk()')]
+ sed -i 's|__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__noreturn__))||g' hhk2008__verifast_instrumented.c
+ verifast -stats -verbose 2 -disable_overflow_check -allow_dead_code -target ILP32 -read_options_from_source_file -c hhk2008__verifast_instrumented.c
hhk2008__verifast_instrumented.c
  0.036536s: hhk2008__verifast_instrumented.c(26,5-9): Function 'main': Function type implementation check
  0.036595s: /storage/repos/SV-Transformer-Library/verifast-24.08.30-2-gb1220004/bin/prelude.h(1084,18-24): Producing assertion
  0.036610s: /storage/repos/SV-Transformer-Library/verifast-24.08.30-2-gb1220004/bin/prelude.h(1084,49-51): Producing assertion
  0.036642s: /storage/repos/SV-Transformer-Library/verifast-24.08.30-2-gb1220004/bin/prelude.h(1084,61-62): Producing assertion
  0.036653s: /storage/repos/SV-Transformer-Library/verifast-24.08.30-2-gb1220004/bin/prelude.h(1084,64-68): Producing assertion
  0.036668s: hhk2008__verifast_instrumented.c(27,14-20): Consuming assertion
  0.036684s: hhk2008__verifast_instrumented.c(28,13-17): Producing assertion
  0.036695s: /storage/repos/SV-Transformer-Library/verifast-24.08.30-2-gb1220004/bin/prelude.h(1085,17-21): Consuming assertion
  0.036710s: hhk2008__verifast_instrumented.c(26,5-9): Cleaning up dummy fraction chunks
  0.036718s: hhk2008__verifast_instrumented.c(26,5-9): Leak check.
  0.036757s: hhk2008__verifast_instrumented.c(7,6-17): Verifying function 'reach_error'
  0.036770s: hhk2008__verifast_instrumented.c(8,14-19): Producing assertion
  0.036790s: hhk2008__verifast_instrumented.c(10,8-27): Verifying function 'assume_abort_if_not'
  0.036800s: hhk2008__verifast_instrumented.c(11,14-18): Producing assertion
  0.036823s: hhk2008__verifast_instrumented.c(10,8-27): Executing statement
  0.036839s: hhk2008__verifast_instrumented.c(13,4-6): Executing statement
  0.036875s: hhk2008__verifast_instrumented.c(13,14-15): Executing statement
  0.036886s: hhk2008__verifast_instrumented.c(13,15-20): Executing statement
  0.036907s: hhk2008__verifast_instrumented.c(13,15-20): Verifying call
  0.036916s: hhk2008__verifast_instrumented.c(3,14-18): Consuming assertion
  0.036927s: hhk2008__verifast_instrumented.c(4,13-17): Producing assertion
  0.036943s: hhk2008__verifast_instrumented.c(14,1-2): Executing return statement
  0.036952s: hhk2008__verifast_instrumented.c(12,13-17): Consuming assertion
  0.036970s: hhk2008__verifast_instrumented.c(14,1-2): Cleaning up dummy fraction chunks
  0.036979s: hhk2008__verifast_instrumented.c(14,1-2): Leak check.
  0.036994s: hhk2008__verifast_instrumented.c(14,1-2): Executing return statement
  0.037002s: hhk2008__verifast_instrumented.c(12,13-17): Consuming assertion
  0.037016s: hhk2008__verifast_instrumented.c(14,1-2): Cleaning up dummy fraction chunks
  0.037024s: hhk2008__verifast_instrumented.c(14,1-2): Leak check.
  0.037043s: hhk2008__verifast_instrumented.c(15,6-23): Verifying function '__VERIFIER_assert'
  0.037051s: hhk2008__verifast_instrumented.c(16,20-22): Producing assertion
  0.037064s: hhk2008__verifast_instrumented.c(15,6-23): Executing statement
  0.037075s: hhk2008__verifast_instrumented.c(18,4-6): Executing statement
  0.037089s: hhk2008__verifast_instrumented.c(21,3-9): Executing return statement
  0.037103s: hhk2008__verifast_instrumented.c(17,19-21): Consuming assertion
  0.037113s: hhk2008__verifast_instrumented.c(22,1-2): Cleaning up dummy fraction chunks
  0.037121s: hhk2008__verifast_instrumented.c(22,1-2): Leak check.
  0.037137s: hhk2008__verifast_instrumented.c(26,5-9): Verifying function 'main'
  0.037145s: hhk2008__verifast_instrumented.c(27,14-20): Producing assertion
  0.037157s: hhk2008__verifast_instrumented.c(30,9-20): Executing statement
  0.037183s: hhk2008__verifast_instrumented.c(26,5-9): Executing statement
  0.037194s: hhk2008__verifast_instrumented.c(31,11-12): Executing statement
  0.037214s: hhk2008__verifast_instrumented.c(31,13-34): Verifying call
  0.037223s: hhk2008__verifast_instrumented.c(24,14-18): Consuming assertion
  0.037236s: hhk2008__verifast_instrumented.c(25,13-17): Producing assertion
  0.037245s: hhk2008__verifast_instrumented.c(32,11-12): Executing statement
  0.037258s: hhk2008__verifast_instrumented.c(32,13-34): Verifying call
  0.037272s: hhk2008__verifast_instrumented.c(24,14-18): Consuming assertion
  0.037284s: hhk2008__verifast_instrumented.c(25,13-17): Producing assertion
  0.037293s: hhk2008__verifast_instrumented.c(33,5-8): Executing statement
  0.037307s: hhk2008__verifast_instrumented.c(34,5-7): Executing statement
  0.037324s: hhk2008__verifast_instrumented.c(34,26-32): Executing return statement
  0.037335s: hhk2008__verifast_instrumented.c(28,13-17): Consuming assertion
  0.037343s: hhk2008__verifast_instrumented.c(46,1-2): Cleaning up dummy fraction chunks
  0.037357s: hhk2008__verifast_instrumented.c(46,1-2): Leak check.
  0.037368s: hhk2008__verifast_instrumented.c(35,5-7): Executing statement
  0.037386s: hhk2008__verifast_instrumented.c(35,36-42): Executing return statement
  0.037395s: hhk2008__verifast_instrumented.c(28,13-17): Consuming assertion
  0.037403s: hhk2008__verifast_instrumented.c(46,1-2): Cleaning up dummy fraction chunks
  0.037412s: hhk2008__verifast_instrumented.c(46,1-2): Leak check.
  0.037430s: hhk2008__verifast_instrumented.c(36,9-10): Executing statement
  0.037441s: hhk2008__verifast_instrumented.c(37,9-10): Executing statement
  0.037450s: hhk2008__verifast_instrumented.c(38,1-6): Executing statement
  0.037463s: hhk2008__verifast_instrumented.c(39,33-35): Consuming assertion
  0.037551s: hhk2008__verifast_instrumented.c(39,33-35): Producing assertion
  0.038455s: hhk2008__verifast_instrumented.c(38,1-6): Evaluating loop condition
  0.038486s: hhk2008__verifast_instrumented.c(40,5-6): Executing statement
  0.038507s: hhk2008__verifast_instrumented.c(41,6-7): Executing statement
  0.038520s: hhk2008__verifast_instrumented.c(42,6-7): Executing statement
  0.038534s: hhk2008__verifast_instrumented.c(39,33-35): Consuming assertion
  0.038771s: hhk2008__verifast_instrumented.c(43,5-6): Cleaning up dummy fraction chunks
  0.038782s: hhk2008__verifast_instrumented.c(43,5-6): Leak check.
  0.038806s: hhk2008__verifast_instrumented.c(44,5-22): Executing statement
  0.038826s: hhk2008__verifast_instrumented.c(44,5-22): Verifying call
  0.038843s: hhk2008__verifast_instrumented.c(16,20-22): Consuming assertion
  0.038853s: hhk2008__verifast_instrumented.c(17,19-21): Producing assertion
  0.038863s: hhk2008__verifast_instrumented.c(45,5-11): Executing return statement
  0.038872s: hhk2008__verifast_instrumented.c(28,13-17): Consuming assertion
  0.038881s: hhk2008__verifast_instrumented.c(46,1-2): Cleaning up dummy fraction chunks
  0.038889s: hhk2008__verifast_instrumented.c(46,1-2): Leak check.
  0.038926s: hhk2008__verifast_instrumented.c(35,36-42): Executing return statement
  0.038936s: hhk2008__verifast_instrumented.c(28,13-17): Consuming assertion
  0.038944s: hhk2008__verifast_instrumented.c(46,1-2): Cleaning up dummy fraction chunks
  0.038952s: hhk2008__verifast_instrumented.c(46,1-2): Leak check.
Syntactic annotation overhead statistics:
  /storage/repos/SV-Transformer-Library/verifast-24.08.30-2-gb1220004/bin/prelude.h      : lines: code:    6; annot:  807; mixed:    1; overhead: 13467%
  /storage/repos/SV-Transformer-Library/verifast-24.08.30-2-gb1220004/bin/list.gh        : lines: code:    0; annot:  187; mixed:    0; overhead:  inf%
  /storage/repos/SV-Transformer-Library/verifast-24.08.30-2-gb1220004/bin/prelude_core.gh: lines: code:    0; annot:   33; mixed:    0; overhead:  inf%
  hhk2008__verifast_instrumented.c                                                       : lines: code:   22; annot:   14; mixed:    0; overhead:   64%
Statements parsed: 111
Open statements parsed: 0
Close statements parsed: 0
Statement executions: 15
Execution steps (including assertion production/consumption steps): 92
Symbolic execution forks: 8
Prover assumes: 25
Term equality tests -- same term: 3
Term equality tests -- prover query: 0
Term equality tests -- total: 3
Other prover queries: 9
Prover statistics:
# toplevel assumes and queries (with # pending case splits) = 218 (0), 0 (more than 30)
assume_core_count = 243
number of case splits = 2
simplex_assert_ge_count = 171
simplex_assert_eq_count = 6
simplex_assert_neq_count = 1
max_truenode_childcount = 0
max_falsenode_childcount = 4
axiom triggered counts:
    ptr_provenance_max_addr_limits     1
    ptr_provenance_min_addr_limits     1
    boxed_bool_unboxed_bool_x_eq_x     1

Time spent in query, assume, push, pop: 0.001664s
Time spent in Simplex: 0.001346s

Time spent parsing: 0.017265s
Function timings (> 0.1s):

Total time: 0.03 seconds
0 errors found (15 statements verified)