[ 0:00] | load /home/xrockai/src/divine/nightly/test/refine/pointers/simple-c.c simple-c.c [ 0:00] | expect --result error --location simple-c.c:15 [ 0:00] | expect --trace FAULT: --trace-count 1 [ 0:00] | cc -o testcase.bc simple-c.c [ 0:00] | refine -o nofail:malloc --refinement pointers --output testcase.bc testcase.bc [ 0:00] | verify --max-memory 4GiB --max-time 600 --threads 2 --report-filename verify.out --solver smtlib:z3 -o nofail:malloc --lamp pointers --symbolic -o abort:ptrcmp testcase.bc [ 0:00] compiling simple-c.c [ 0:00] loading bitcode … DiOS … LART … RR … constants … done [ 0:18] booting … done [ 0:18] states per second: 35.7143 [ 0:18] state count: 2 [ 0:18] mips: 0.18 [ 0:18] symbolic: 1 [ 0:18] [ 0:18] error found: yes [ 0:18] error trace: | [ 0:18] FAULT: simple-c.c:8: void test(int *, int *): assertion 'a == b' failed [ 0:18] [0] FATAL: assertion failure in userspace [ 0:18] [ 0:18] active stack: [ 0:19] - symbol: void __dios::FaultBase::handler<__dios::Context>(_VM_Fault, _VM_Frame*, void (*)()) [ 0:19] location: /dios/sys/fault.hpp:118 [ 0:19] - symbol: __dios_fault [ 0:19] location: /dios/arch/divm/fault.c:12 [ 0:19] - symbol: __assert_fail [ 0:19] location: /dios/libc/_PDCLIB/assert.c:24 [ 0:19] - symbol: test [ 0:19] location: simple-c.c:8 [ 0:19] - symbol: main [ 0:19] location: simple-c.c:15 [ 0:19] - symbol: __dios_start [ 0:19] location: /dios/libc/sys/start.cpp:94 [ 0:19] + divine sim --batch --skip-init --load-report verify.out [ 0:19] [ 0:27] ^ —————. —.— . . —.— . . .————— . . [ 0:27] ——— | | | | | | |\ | | | | [ 0:27] —(o)— | | | | | | | \ | |———— '————| [ 0:27] ——————— | | | \ / | | \| | | [ 0:27] ————————— —————' —'— ' —'— ' ' '————— ' [ 0:27] [ 0:27] Welcome to 'divine sim', an interactive debugger. Type 'help' to get started. [ 0:27] traced states: [ 0:27] ▶ state #1 [new] -- active threads: [0:0] -- [ 0:27] T: FAULT: simple-c.c:8: void test(int *, int *): assertion 'a == b' failed [ 0:27] # executing void __dios::FaultBase::handler<{Context}>(_VM_Fault, _VM_Frame*, void (*)()) at /dios/sys/fault.hpp:118 [ 0:27] # NOTE: $frame in __dios_fault [ 0:27] > backtrace [ 0:27] void __dios::FaultBase::handler<{Context}>(_VM_Fault, _VM_Frame*, void (*)()) at /dios/sys/fault.hpp:118 [ 0:27] __dios_fault at /dios/arch/divm/fault.c:12 [ 0:27] __assert_fail at /dios/libc/_PDCLIB/assert.c:24 [ 0:27] test at simple-c.c:8 [ 0:27] main at simple-c.c:15 [ 0:27] __dios_start at /dios/libc/sys/start.cpp:94 [ 0:27] # executing void __dios::FaultBase::handler<{Context}>(_VM_Fault, _VM_Frame*, void (*)()) at /dios/sys/fault.hpp:118 [ 0:27] # NOTE: $frame in __dios_fault