[ 0:00] | load /home/xrockai/src/divine/nightly/test/refine/pointers/offset-overflow.c offset-overflow.c [ 0:00] | expect --result error --location offset-overflow.c:14 [ 0:00] | expect --trace FAULT: --trace-count 1 [ 0:00] | cc -o testcase.bc offset-overflow.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 stp -o nofail:malloc --lamp pointers --symbolic testcase.bc [ 0:00] compiling offset-overflow.c [ 0:00] loading bitcode … DiOS … LART … RR … constants … done [ 0:32] booting … done [ 0:32] states per second: 18.3486 [ 0:32] state count: 2 [ 0:32] mips: 0.25 [ 0:32] symbolic: 1 [ 0:33] [ 0:33] error found: yes [ 0:33] error trace: | [ 0:33] ASSUME (not (= var_1 #x0000000000000000)) [ 0:33] ASSUME (and (not (= var_1 #x0000000000000000)) (not (not (= #x447c586000000000 var_1)))) [ 0:33] FAULT: offset-overflow.c:14: int main(): assertion 'x != y' failed [ 0:33] [0] FATAL: assertion failure in userspace [ 0:33] [ 0:33] active stack: [ 0:33] - symbol: void __dios::FaultBase::handler<__dios::Context>(_VM_Fault, _VM_Frame*, void (*)()) [ 0:34] location: /dios/sys/fault.hpp:118 [ 0:34] - symbol: __dios_fault [ 0:34] location: /dios/arch/divm/fault.c:12 [ 0:34] - symbol: lart.__assert_fail [ 0:34] location: /dios/libc/_PDCLIB/assert.c:24 [ 0:34] - symbol: main [ 0:34] location: offset-overflow.c:14 [ 0:34] - symbol: __dios_start [ 0:34] location: /dios/libc/sys/start.cpp:94 [ 0:34] + divine sim --batch --skip-init --load-report verify.out [ 0:34] [ 0:45] ^ —————. —.— . . —.— . . .————— . . [ 0:45] ——— | | | | | | |\ | | | | [ 0:45] —(o)— | | | | | | | \ | |———— '————| [ 0:45] ——————— | | | \ / | | \| | | [ 0:45] ————————— —————' —'— ' —'— ' ' '————— ' [ 0:45] [ 0:45] Welcome to 'divine sim', an interactive debugger. Type 'help' to get started. [ 0:45] traced states: [ 0:45] ▶ state #1 [new] -- active threads: [0:0] -- [ 0:45] T: FAULT: offset-overflow.c:14: int main(): assertion 'x != y' failed [ 0:46] # executing void __dios::FaultBase::handler<{Context}>(_VM_Fault, _VM_Frame*, void (*)()) at /dios/sys/fault.hpp:118 [ 0:46] # NOTE: $frame in __dios_fault [ 0:46] > backtrace [ 0:46] void __dios::FaultBase::handler<{Context}>(_VM_Fault, _VM_Frame*, void (*)()) at /dios/sys/fault.hpp:118 [ 0:46] __dios_fault at /dios/arch/divm/fault.c:12 [ 0:46] lart.__assert_fail at /dios/libc/_PDCLIB/assert.c:24 [ 0:46] main at offset-overflow.c:14 [ 0:46] __dios_start at /dios/libc/sys/start.cpp:94 [ 0:46] # executing void __dios::FaultBase::handler<{Context}>(_VM_Fault, _VM_Frame*, void (*)()) at /dios/sys/fault.hpp:118 [ 0:46] # NOTE: $frame in __dios_fault