[ 0:01] compiling /home/xrockai/src/divine/nightly/test/lang-c/global-overflow.c [ 0:01] /home/xrockai/src/divine/nightly/test/lang-c/global-overflow.c:5:5: warning: array index 2 is past the end of the array (which contains 2 elements) [ 0:01] array[2] = 3; /* ERROR: out of bounds */ [ 0:01] ^ ~ [ 0:01] /home/xrockai/src/divine/nightly/test/lang-c/global-overflow.c:2:1: note: array 'array' declared here [ 0:01] int array[2]; [ 0:01] ^ [ 0:01] 1 warning generated. [ 0:01] compiling /dios/lib/config/seq.bc [ 0:01] 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:02] KLEE: Using Z3 solver backend [ 0:02] WARNING: this target does not support the llvm.stacksave intrinsic. [ 0:02] warning: Linking two modules of different target triples: klee_div_zero_check.bc' is 'x86_64-pc-linux-gnu' whereas 'klee.bc' is 'x86_64-unknown-none-elf' [ 0:02] [ 0:02] KLEE: WARNING: undefined reference to function: __dios_stack_free [ 0:02] KLEE: WARNING: undefined reference to function: klee_free [ 0:02] KLEE: WARNING: undefined reference to function: klee_malloc [ 0:02] about to __boot:0 [ 0:02] KLEE: WARNING ONCE: Alignment of memory from call "klee_malloc" is not modelled. Using alignment of 8. [ 0:02] about to run the scheduler:0 [ 0:02] KLEE: ERROR: /home/xrockai/src/divine/nightly/test/lang-c/global-overflow.c:5: memory error: out of bound pointer [ 0:02] KLEE: NOTE: now ignoring this error at this location [ 0:02] KLEE: ERROR: EXITING ON ERROR: [ 0:02] Error: memory error: out of bound pointer [ 0:02] File: /home/xrockai/src/divine/nightly/test/lang-c/global-overflow.c [ 0:02] Line: 5 [ 0:02] assembly.ll line: 3786 [ 0:02] Stack: [ 0:02] #000003786 in main () at /home/xrockai/src/divine/nightly/test/lang-c/global-overflow.c:5 [ 0:02] #100032816 in __dios_start (l=0, argc=1, argv=94507614037000, envp=94507614056968) at /dios/libc/sys/start.cpp:91 [ 0:02] #200009771 in _ZN6__dios10sched_nullINS_4BaseEE13run_schedulerINS_7ContextEEEvv () at /dios/sys/sched_null.hpp:149 [ 0:02] #300041187 in klee_boot (argc=1, argv=94507601594784) at /dios/arch/klee/boot.c:41 [ 0:02] Info: [ 0:02] address: 94507609932816 [ 0:02] next: object at 94507578746880 of size 6080 [ 0:02] MO65[6080] allocated at global:llvm.global.annotations [ 0:02] [ 0:02]