[ 0:00] compiling /home/xrockai/src/divine/nightly/test/c/2.global-overflow.c [ 0:00] /home/xrockai/src/divine/nightly/test/c/2.global-overflow.c:4:5: warning: array index 2 is past the end of the array (which contains 2 elements) [ 0:00] array[2] = 3; /* ERROR: bad dereference */ [ 0:00] ^ ~ [ 0:00] /home/xrockai/src/divine/nightly/test/c/2.global-overflow.c:1:1: note: array 'array' declared here [ 0:00] int array[2]; [ 0:00] ^ [ 0:00] 1 warning generated. [ 0:00] states per second: 3.003 [ 0:15] state count: 3 [ 0:15] mips: 0.36 [ 0:15] [ 0:19] error found: yes [ 0:19] error trace: | [ 0:19] FAULT: access of size 4 at [global* 1 8 ddp] is 4 bytes out of bounds [ 0:19] [0] FATAL: memory error in userspace [ 0:19] [ 0:19] active stack: [ 0:19] - symbol: void {Fault}::handler<{Context} >(_VM_Fault, _VM_Frame*, void (*)(), ...) [ 0:20] location: /divine/include/dios/core/fault.hpp:187 [ 0:20] - symbol: main [ 0:20] location: /home/xrockai/src/divine/nightly/test/c/2.global-overflow.c:4 [ 0:20] - symbol: _start [ 0:20] location: /divine/src/libc/functions/sys/start.cpp:76 [ 0:20] a report was written to verify.out [ 0:20] [ 0:29] ^ —————. —.— . . —.— . . .————— . . [ 0:29] ——— | | | | | | |\ | | | | [ 0:29] —(o)— | | | | | | | \ | |———— '————| [ 0:29] ——————— | | | \ / | | \| | | [ 0:29] ————————— —————' —'— ' —'— ' ' '————— ' [ 0:29] [ 0:29] Welcome to 'divine sim', an interactive debugger. Type 'help' to get started. [ 0:29] traced states: #1 #2 [ 0:33] # active threads: [0:0] [ 0:33] T: FAULT: access of size 4 at [global* 1 8 ddp] is 4 bytes out of bounds [ 0:33] T: [0] FATAL: memory error in userspace [ 0:33] # executing void {Fault}::handler<{Context} >(_VM_Fault, _VM_Frame*, void (*)(), ...) at /divine/include/dios/core/fault.hpp:187 [ 0:33] # NOTE: $frame in main [ 0:33] > backtrace [ 0:33] void {Fault}::handler<{Context} >(_VM_Fault, _VM_Frame*, void (*)(), ...) at /divine/include/dios/core/fault.hpp:187 [ 0:33] main at /home/xrockai/src/divine/nightly/test/c/2.global-overflow.c:4 [ 0:33] _start at /divine/src/libc/functions/sys/start.cpp:76 [ 0:33] # executing void {Fault}::handler<{Context} >(_VM_Fault, _VM_Frame*, void (*)(), ...) at /divine/include/dios/core/fault.hpp:187 [ 0:33] # NOTE: $frame in main