[ 0:00] --symbolic [ 0:00] compiling /var/obj/divine-nightly/semidbg/test/_expand/abstract/sym-array-b.pkg.cpp/v.O0.cpp [ 0:00] /var/obj/divine-nightly/semidbg/test/_expand/abstract/sym-array-b.pkg.cpp/v.O0.cpp:15:10: warning: array index 4 is past the end of the array (which contains 4 elements) [ 0:00] if ( array[ 4 ] ) /* ERROR */ // this is undefined behaviour, it is optimized out with -O2 [ 0:00] ^ ~ [ 0:00] /var/obj/divine-nightly/semidbg/test/_expand/abstract/sym-array-b.pkg.cpp/v.O0.cpp:12:5: note: array 'array' declared here [ 0:00] uint64_t array[ 4 ]; [ 0:00] ^ [ 0:00] 1 warning generated. [ 0:00] states per second: 90.9091 [ 0:05] state count: 4 [ 0:05] mips: 0.19 [ 0:05] symbolic: 1 [ 0:06] [ 0:06] error found: yes [ 0:06] error trace: | [ 0:06] FAULT: access of size 8 at [heap* 6ed52238 20h ddp] is 8 bytes out of bounds [ 0:06] [0] FATAL: memory error in userspace [ 0:06] [ 0:06] active stack: [ 0:06] - symbol: void __dios::FaultBase::handler<__dios::Upcall<__dios::fs::VFS<__dios::ProcessManager<__dios::Fault<__dios::Scheduler<__dios::config::Base> > > > > >(_VM_Fault, _VM_Frame*, void (*)()) [ 0:06] location: /dios/include/dios/sys/fault.hpp:87 [ 0:06] - symbol: main [ 0:06] location: /var/obj/divine-nightly/semidbg/test/_expand/abstract/sym-array-b.pkg.cpp/v.O0.cpp:15 [ 0:06] - symbol: _start [ 0:06] location: /dios/src/libc/sys/start.cpp:83 [ 0:06] a report was written to verify.out [ 0:06] [ 0:15] ^ —————. —.— . . —.— . . .————— . . [ 0:15] ——— | | | | | | |\ | | | | [ 0:15] —(o)— | | | | | | | \ | |———— '————| [ 0:15] ——————— | | | \ / | | \| | | [ 0:15] ————————— —————' —'— ' —'— ' ' '————— ' [ 0:15] [ 0:15] Welcome to 'divine sim', an interactive debugger. Type 'help' to get started. [ 0:15] traced states: #1 #2 #3 [ 0:15] # active threads: [0:0] [ 0:15] T: FAULT: access of size 8 at [heap* 6ed52238 20h ddp] is 8 bytes out of bounds [ 0:15] T: [0] FATAL: memory error in userspace [ 0:15] # executing void __dios::FaultBase::handler<{Context} >(_VM_Fault, _VM_Frame*, void (*)()) at /dios/include/dios/sys/fault.hpp:87 [ 0:15] # NOTE: $frame in main [ 0:15] > backtrace [ 0:15] void __dios::FaultBase::handler<{Context} >(_VM_Fault, _VM_Frame*, void (*)()) at /dios/include/dios/sys/fault.hpp:87 [ 0:15] main at /var/obj/divine-nightly/semidbg/test/_expand/abstract/sym-array-b.pkg.cpp/v.O0.cpp:15 [ 0:15] _start at /dios/src/libc/sys/start.cpp:83 [ 0:15] # executing void __dios::FaultBase::handler<{Context} >(_VM_Fault, _VM_Frame*, void (*)()) at /dios/include/dios/sys/fault.hpp:87 [ 0:15] # NOTE: $frame in main