[ 0:00] compiling /var/obj/divine-nightly/semidbg/test/_expand/svcomp/loops/apache-escape-absolute_true.pkg.c/small.5.c [ 0:00] compiling /dios/lib/config/seqklee.bc [ 0:00] setting up pass: functionmeta, options = [ 0:02] setting up pass: fuse-ctors, options = [ 0:02] KLEE: output directory is "/var/obj/divine-nightly/semidbg/test/__test_work_dir.1/_klee_out" [ 0:05] KLEE: Using Z3 solver backend [ 0:05] WARNING: this target does not support the llvm.stacksave intrinsic. [ 0:05] warning: Linking two modules of different target triples: klee_div_zero_check.bc' is 'x86_64-unknown-linux-gnu' whereas 'klee.bc' is 'x86_64-unknown-none-elf' [ 0:05] [ 0:05] KLEE: WARNING: undefined reference to function: __dios_tainted_init [ 0:07] KLEE: WARNING: undefined reference to function: klee_free [ 0:07] KLEE: WARNING: undefined reference to function: klee_malloc [ 0:07] about to __boot:0 [ 0:08] KLEE: WARNING ONCE: Alignment of memory from call "klee_malloc" is not modelled. Using alignment of 8. [ 0:08] about to run the scheduler:0 [ 0:08] KLEE: WARNING ONCE: calling external: __dios_tainted_init() at /dios/libc/sys/start.cpp:49 5 [ 0:08] KLEE: ERROR: /dios/libc/sys/start.cpp:87: failed external call: __dios_tainted_init [ 0:08] KLEE: NOTE: now ignoring this error at this location [ 0:08] KLEE: ERROR: EXITING ON ERROR: [ 0:08] Error: failed external call: __dios_tainted_init [ 0:08] File: /dios/libc/sys/start.cpp [ 0:08] Line: 87 [ 0:08] assembly.ll line: 34332 [ 0:08] Stack: [ 0:08] #000034332 in __dios_start (l=0, argc=1, argv=93926104334344, envp=93926104352776) at /dios/libc/sys/start.cpp:87 [ 0:08] #100010351 in _ZN6__dios10sched_nullINS_5ClockINS_10NondetKleeINS_4BaseEEEEEE13run_schedulerINS_7ContextEEEvv () at /dios/sys/sched_null.hpp:163 [ 0:08] #200042682 in klee_boot (argc=1, argv=93926091434048) at /dios/arch/klee/boot.c:41 [ 0:08] [ 0:08] [ 0:08] 1 /* TAGS: c sym */ [ 0:08] 2 /* VERIFY_OPTS: --symbolic */ [ 0:08] 3 /* CC_OPTS: -DNUM=5 */ [ 0:08] 4 [ 0:08] 5 // V: small.5 CC_OPT: -DNUM=5 [ 0:08] 6 // V: small.10 CC_OPT: -DNUM=10 TAGS: big [ 0:08] 7 // V: big.100 CC_OPT: -DNUM=100 TAGS: big [ 0:08] 8 // V: big.1000 CC_OPT: -DNUM=1000 TAGS: big [ 0:08] 9 // V: big.10000 CC_OPT: -DNUM=10000 TAGS: big [ 0:08] 10 // V: big CC_OPT: -DNUM=2147483647 TAGS: big [ 0:08] 11 [ 0:08] 12 extern void __VERIFIER_error(void); [ 0:08] 13 extern void __VERIFIER_assume(int); [ 0:08] 14 void __VERIFIER_assert(int cond) { [ 0:08] 15 if (!(cond)) { [ 0:08] 16 ERROR: __VERIFIER_error(); [ 0:08] 17 } [ 0:08] 18 return; [ 0:08] 19 } [ 0:08] 20 int __VERIFIER_nondet_int(); [ 0:08] 21 [ 0:08] 22 int main() [ 0:08] 23 { [ 0:08] 24 int scheme; [ 0:08] 25 int urilen,tokenlen; [ 0:08] 26 int cp,c; [ 0:08] 27 urilen = __VERIFIER_nondet_int(); [ 0:08] 28 tokenlen = __VERIFIER_nondet_int(); [ 0:08] 29 scheme = __VERIFIER_nondet_int(); [ 0:08] 30 if (!(urilen <= NUM && urilen >= -NUM)) return 0; [ 0:08] 31 if (!(tokenlen <= NUM && tokenlen >= -NUM)) return 0; [ 0:08] 32 if (!(scheme <= NUM && scheme >= -NUM)) return 0; [ 0:08] 33 [ 0:08] 34 if(urilen>0); else goto END; [ 0:08] 35 if(tokenlen>0); else goto END; [ 0:08] 36 if(scheme >= 0 );else goto END; [ 0:08] 37 if (scheme == 0 || (urilen-1 < scheme)) { [ 0:08] 38 goto END; [ 0:08] 39 } [ 0:08] 40 [ 0:08] 41 cp = scheme; [ 0:08] 42 [ 0:08] 43 __VERIFIER_assert(cp-1 < urilen); [ 0:08] 44 __VERIFIER_assert(0 <= cp-1); [ 0:08] 45 [ 0:08] 46 if (__VERIFIER_nondet_int()) { [ 0:08] 47 __VERIFIER_assert(cp < urilen); [ 0:08] 48 __VERIFIER_assert(0 <= cp); [ 0:08] 49 while ( cp != urilen-1) { [ 0:08] 50 if(__VERIFIER_nondet_int()) break; [ 0:08] 51 __VERIFIER_assert(cp < urilen); [ 0:08] 52 __VERIFIER_assert(0 <= cp); [ 0:08] 53 ++cp; [ 0:08] 54 } [ 0:08] 55 __VERIFIER_assert(cp < urilen); [ 0:08] 56 __VERIFIER_assert( 0 <= cp ); [ 0:08] 57 if (cp == urilen-1) goto END; [ 0:08] 58 __VERIFIER_assert(cp+1 < urilen); [ 0:08] 59 __VERIFIER_assert( 0 <= cp+1 ); [ 0:08] 60 if (cp+1 == urilen-1) goto END; [ 0:08] 61 ++cp; [ 0:08] 62 [ 0:08] 63 scheme = cp; [ 0:08] 64 [ 0:08] 65 if (__VERIFIER_nondet_int()) { [ 0:08] 66 c = 0; [ 0:08] 67 __VERIFIER_assert(cp < urilen); [ 0:08] 68 __VERIFIER_assert(0<=cp); [ 0:08] 69 while ( cp != urilen-1 [ 0:08] 70 && c < tokenlen - 1) { [ 0:08] 71 __VERIFIER_assert(cp < urilen); [ 0:08] 72 __VERIFIER_assert(0<=cp); [ 0:08] 73 if (__VERIFIER_nondet_int()) { [ 0:08] 74 ++c; [ 0:08] 75 __VERIFIER_assert(c < tokenlen); [ 0:08] 76 __VERIFIER_assert(0<=c); [ 0:08] 77 __VERIFIER_assert(cp < urilen); [ 0:08] 78 __VERIFIER_assert(0<=cp); [ 0:08] 79 } [ 0:08] 80 ++cp; [ 0:08] 81 } [ 0:08] 82 goto END; [ 0:08] 83 } [ 0:08] 84 } [ 0:08] 85 [ 0:08] 86 END: [ 0:08] 87 return 0; [ 0:08] 88 } [ 0:08] # no errors were expected but one was found anyway