[ 0:01] | load /home/xrockai/src/divine/nightly/test/sym/stubs-a.cpp stubs-a.cpp [ 0:01] | expect --result error --location stubs-a.cpp:14 [ 0:01] | expect --trace FAULT: --trace-count 1 [ 0:01] | cc -o testcase.bc -std=c++14 stubs-a.cpp [ 0:01] | verify --max-memory 4GiB --max-time 600 --threads 2 --report-filename verify.out --solver z3 --symbolic --lart stubs testcase.bc [ 0:01] compiling stubs-a.cpp [ 0:01] loading bitcode … DiOS … LART … setting up pass: stubs, options = [ 0:03] INFO: stubbed 1 declarations [ 0:03] RR … constants … done [ 0:10] booting … done [ 0:11] states per second: 54.0541 [ 0:11] state count: 2 [ 0:11] mips: 0.23 [ 0:11] symbolic: 1 [ 0:11] [ 0:11] error found: yes [ 0:11] error trace: | [ 0:11] FAULT: lart.divine.stubs: Function stub called. [ 0:11] [0] FATAL: not implemented in userspace [ 0:11] [ 0:11] active stack: [ 0:11] - symbol: void __dios::FaultBase::handler<__dios::Context>(_VM_Fault, _VM_Frame*, void (*)()) [ 0:11] location: /dios/sys/fault.hpp:118 [ 0:11] - symbol: lart.__dios_fault [ 0:11] location: /dios/arch/divm/fault.c:12 [ 0:11] - symbol: lart._Z7stubbedi [ 0:11] location: (unknown location) [ 0:11] - symbol: main [ 0:11] location: stubs-a.cpp:14 [ 0:11] - symbol: __dios_start [ 0:11] location: /dios/libc/sys/start.cpp:94 [ 0:11] + divine sim --batch --skip-init --load-report verify.out [ 0:11] setting up pass: stubs, options = [ 0:13] INFO: stubbed 1 declarations [ 0:13] [ 0:21] ^ —————. —.— . . —.— . . .————— . . [ 0:21] ——— | | | | | | |\ | | | | [ 0:21] —(o)— | | | | | | | \ | |———— '————| [ 0:21] ——————— | | | \ / | | \| | | [ 0:21] ————————— —————' —'— ' —'— ' ' '————— ' [ 0:21] [ 0:21] Welcome to 'divine sim', an interactive debugger. Type 'help' to get started. [ 0:21] traced states: [ 0:22] ▶ state #1 [new] -- active threads: [0:0] -- [ 0:22] T: FAULT: lart.divine.stubs: Function stub called. [ 0:22] # executing void __dios::FaultBase::handler<{Context}>(_VM_Fault, _VM_Frame*, void (*)()) at /dios/sys/fault.hpp:118 [ 0:22] # NOTE: $frame in lart.__dios_fault [ 0:22] > backtrace [ 0:22] void __dios::FaultBase::handler<{Context}>(_VM_Fault, _VM_Frame*, void (*)()) at /dios/sys/fault.hpp:118 [ 0:22] lart.__dios_fault at /dios/arch/divm/fault.c:12 [ 0:22] lart._Z7stubbedi at (unknown location) [ 0:22] main at stubs-a.cpp:14 [ 0:22] __dios_start at /dios/libc/sys/start.cpp:94 [ 0:22] # executing void __dios::FaultBase::handler<{Context}>(_VM_Fault, _VM_Frame*, void (*)()) at /dios/sys/fault.hpp:118 [ 0:22] # NOTE: $frame in lart.__dios_fault