[ 0:00] compiling /home/xrockai/src/divine/nightly/test/vm/2.call-too-many.c [ 0:00] /home/xrockai/src/divine/nightly/test/vm/2.call-too-many.c:4:11: warning: incompatible pointer types initializing 'int (*)(int, int, int)' with an expression of type 'int (int, int)' [ 0:00] int (*fun)( int, int, int ) = foo; [ 0:00] ^ ~~~ [ 0:00] 1 warning generated. [ 0:00] states per second: 2.95276 [ 0:15] state count: 3 [ 0:15] mips: 0.36 [ 0:15] [ 0:18] error found: yes [ 0:18] error trace: | [ 0:18] FAULT: too many arguments given to a call: 2 expected but 3 given [ 0:18] [0] FATAL: control error in userspace [ 0:18] [ 0:18] active stack: [ 0:19] - symbol: void {Fault}::handler<{Context} >(_VM_Fault, _VM_Frame*, void (*)(), ...) [ 0:19] location: /divine/include/dios/core/fault.hpp:187 [ 0:19] - symbol: main [ 0:19] location: /home/xrockai/src/divine/nightly/test/vm/2.call-too-many.c:5 [ 0:19] - symbol: _start [ 0:19] location: /divine/src/libc/functions/sys/start.cpp:76 [ 0:19] a report was written to verify.out [ 0:19] [ 0:28] ^ —————. —.— . . —.— . . .————— . . [ 0:28] ——— | | | | | | |\ | | | | [ 0:28] —(o)— | | | | | | | \ | |———— '————| [ 0:28] ——————— | | | \ / | | \| | | [ 0:28] ————————— —————' —'— ' —'— ' ' '————— ' [ 0:28] [ 0:28] Welcome to 'divine sim', an interactive debugger. Type 'help' to get started. [ 0:28] traced states: #1 #2 [ 0:33] # active threads: [0:0] [ 0:33] T: FAULT: too many arguments given to a call: 2 expected but 3 given [ 0:33] T: [0] FATAL: control 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/vm/2.call-too-many.c:5 [ 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