[ 0:01] compiling /home/xrockai/src/divine/nightly/test/demo/1.memory.cpp [ 0:01] states per second: 64.8944 [ 0:18] state count: 83 [ 0:18] mips: 0.32 [ 0:18] [ 0:25] error found: yes [ 0:25] error trace: | [ 0:25] [0] writing at index 0 [ 0:25] [0] writing at index 1 [ 0:25] [0] writing at index 2 [ 0:25] [0] writing at index 3 [ 0:25] [0] writing at index 4 [ 0:25] FAULT: access of size 4 at [heap* 8b5b50af 10h ddp] is 4 bytes out of bounds [ 0:25] [0] FATAL: memory error in userspace [ 0:25] [ 0:25] active stack: [ 0:25] - symbol: void {Fault}::handler<{Context} >(_VM_Fault, _VM_Frame*, void (*)(), ...) [ 0:26] location: /divine/include/dios/core/fault.hpp:187 [ 0:26] - symbol: foo(int*) [ 0:26] location: /home/xrockai/src/divine/nightly/test/demo/1.memory.cpp:6 [ 0:26] - symbol: main [ 0:26] location: /home/xrockai/src/divine/nightly/test/demo/1.memory.cpp:12 [ 0:26] - symbol: _start [ 0:26] location: /divine/src/libc/functions/sys/start.cpp:76 [ 0:26] a report was written to verify.out [ 0:26] [ 0:35] ^ —————. —.— . . —.— . . .————— . . [ 0:35] ——— | | | | | | |\ | | | | [ 0:35] —(o)— | | | | | | | \ | |———— '————| [ 0:35] ——————— | | | \ / | | \| | | [ 0:35] ————————— —————' —'— ' —'— ' ' '————— ' [ 0:35] [ 0:35] Welcome to 'divine sim', an interactive debugger. Type 'help' to get started. [ 0:35] traced states: #1 #2 #3 #4 #5 #6 #7 #8 #9 #10 #11 #12 #13 #14 #15 #16 #17 #18 #19 #20 #21 #22 #23 #24 #25 #26 #27 #28 #29 #30 #31 #32 #33 #34 #35 #36 #37 #38 #39 #40 #41 #42 #43 #44 #45 #46 #47 #48 #49 #50 #51 #52 #53 #54 #55 #56 #57 #58 #59 #60 #61 #62 #63 #64 #65 #66 #67 #68 #69 #70 #71 #72 #73 #74 #75 #76 #77 #78 #79 #80 #81 #82 [ 0:40] trace: [ 0:40] T: [0] writing at index 0 [ 0:40] T: [0] writing at index 1 [ 0:40] T: [0] writing at index 2 [ 0:40] T: [0] writing at index 3 [ 0:40] T: [0] writing at index 4 [ 0:40] # active threads: [0:0] [ 0:40] T: FAULT: access of size 4 at [heap* 8b5b50af 10h ddp] is 4 bytes out of bounds [ 0:40] T: [0] FATAL: memory error in userspace [ 0:40] # executing void {Fault}::handler<{Context} >(_VM_Fault, _VM_Frame*, void (*)(), ...) at /divine/include/dios/core/fault.hpp:187 [ 0:40] # NOTE: $frame in foo(int*) [ 0:40] > backtrace [ 0:40] void {Fault}::handler<{Context} >(_VM_Fault, _VM_Frame*, void (*)(), ...) at /divine/include/dios/core/fault.hpp:187 [ 0:40] foo(int*) at /home/xrockai/src/divine/nightly/test/demo/1.memory.cpp:6 [ 0:40] main at /home/xrockai/src/divine/nightly/test/demo/1.memory.cpp:12 [ 0:40] _start at /divine/src/libc/functions/sys/start.cpp:76 [ 0:40] # executing void {Fault}::handler<{Context} >(_VM_Fault, _VM_Frame*, void (*)(), ...) at /divine/include/dios/core/fault.hpp:187 [ 0:40] # NOTE: $frame in foo(int*)