[ 0:01] compiling /home/xrockai/src/divine/nightly/test/undef/2.undef.31-error.c [ 0:01] /home/xrockai/src/divine/nightly/test/undef/2.undef.31-error.c:3:28: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [ 0:01] switch ( x ) { case 0: exit( 2 ); default: exit( 1 ); } /* ERROR */ [ 0:01] ^ [ 0:01] /home/xrockai/src/divine/nightly/test/undef/2.undef.31-error.c:3:28: note: include the header or explicitly provide a declaration for 'exit' [ 0:01] 1 warning generated. [ 0:01] states per second: 3.01811 [ 0:16] state count: 3 [ 0:16] mips: 0.37 [ 0:16] [ 0:20] error found: yes [ 0:20] error trace: | [ 0:20] FAULT: switch on an undefined value [ 0:20] [0] FATAL: control error in userspace [ 0:20] [ 0:20] active stack: [ 0:20] - 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/undef/2.undef.31-error.c:3 [ 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:30] ^ —————. —.— . . —.— . . .————— . . [ 0:30] ——— | | | | | | |\ | | | | [ 0:30] —(o)— | | | | | | | \ | |———— '————| [ 0:30] ——————— | | | \ / | | \| | | [ 0:30] ————————— —————' —'— ' —'— ' ' '————— ' [ 0:30] [ 0:30] Welcome to 'divine sim', an interactive debugger. Type 'help' to get started. [ 0:30] traced states: #1 #2 [ 0:34] # active threads: [0:0] [ 0:34] T: FAULT: switch on an undefined value [ 0:34] T: [0] FATAL: control error in userspace [ 0:34] # executing void {Fault}::handler<{Context} >(_VM_Fault, _VM_Frame*, void (*)(), ...) at /divine/include/dios/core/fault.hpp:187 [ 0:34] # NOTE: $frame in main [ 0:34] > backtrace [ 0:34] void {Fault}::handler<{Context} >(_VM_Fault, _VM_Frame*, void (*)(), ...) at /divine/include/dios/core/fault.hpp:187 [ 0:34] main at /home/xrockai/src/divine/nightly/test/undef/2.undef.31-error.c:3 [ 0:34] _start at /divine/src/libc/functions/sys/start.cpp:76 [ 0:34] # executing void {Fault}::handler<{Context} >(_VM_Fault, _VM_Frame*, void (*)(), ...) at /divine/include/dios/core/fault.hpp:187 [ 0:34] # NOTE: $frame in main