[ 0:00] + SRC=/home/xrockai/src/divine/next/test/lang-c/ptr-arith.c [ 0:00] + sim /home/xrockai/src/divine/next/test/lang-c/ptr-arith.c [ 0:00] compiling /home/xrockai/src/divine/next/test/lang-c/ptr-arith.c [ 0:00] [ 0:02] ^ —————. —.— . . —.— . . .————— . . [ 0:02] ——— | | | | | | |\ | | | | [ 0:02] —(o)— | | | | | | | \ | |———— '————| [ 0:02] ——————— | | | \ / | | \| | | [ 0:02] ————————— —————' —'— ' —'— ' ' '————— ' [ 0:02] [ 0:02] Welcome to 'divine sim', an interactive debugger. Type 'help' to get started. [ 0:02] # executing __boot at /dios/config/common.hpp:28 [ 0:02] > start [ 0:02] # a new program state was stored as #1 [ 0:02] # active threads: [0:0] [ 0:02] # a new program state was stored as #2 [ 0:02] # active threads: [0:0] [ 0:02] # a new program state was stored as #3 [ 0:02] # active threads: [0:0] [ 0:02] # a new program state was stored as #4 [ 0:02] # active threads: [0:0] [ 0:02] # a new program state was stored as #5 [ 0:02] # active threads: [0:0] [ 0:02] # a new program state was stored as #6 [ 0:02] # active threads: [0:0] [ 0:02] # a new program state was stored as #7 [ 0:02] # active threads: [0:0] [ 0:02] # a new program state was stored as #8 [ 0:02] # active threads: [0:0] [ 0:02] # a new program state was stored as #9 [ 0:02] # active threads: [0:0] [ 0:02] # a new program state was stored as #10 [ 0:02] # active threads: [0:0] [ 0:02] # a new program state was stored as #11 [ 0:02] # active threads: [0:0] [ 0:02] # a new program state was stored as #12 [ 0:02] # active threads: [0:0] [ 0:02] # a new program state was stored as #13 [ 0:02] # active threads: [0:0] [ 0:02] # a new program state was stored as #14 [ 0:02] # active threads: [0:0] [ 0:02] # a new program state was stored as #15 [ 0:02] # active threads: [0:0] [ 0:02] # a new program state was stored as #16 [ 0:02] # active threads: [0:0] [ 0:02] # a new program state was stored as #17 [ 0:02] # active threads: [0:0] [ 0:02] # a new program state was stored as #18 [ 0:02] # active threads: [0:0] [ 0:02] # a new program state was stored as #19 [ 0:02] # active threads: [0:0] [ 0:02] # a new program state was stored as #20 [ 0:02] # active threads: [0:0] [ 0:02] # a new program state was stored as #21 [ 0:02] # active threads: [0:0] [ 0:02] # a new program state was stored as #22 [ 0:02] # active threads: [0:0] [ 0:02] # a new program state was stored as #23 [ 0:02] # active threads: [0:0] [ 0:02] # a new program state was stored as #24 [ 0:02] # active threads: [0:0] [ 0:02] # a new program state was stored as #25 [ 0:02] # active threads: [0:0] [ 0:02] # a new program state was stored as #26 [ 0:02] # active threads: [0:0] [ 0:02] # a new program state was stored as #27 [ 0:02] # active threads: [0:0] [ 0:02] # a new program state was stored as #28 [ 0:02] # active threads: [0:0] [ 0:02] # a new program state was stored as #29 [ 0:02] # active threads: [0:0] [ 0:02] # a new program state was stored as #30 [ 0:02] # active threads: [0:0] [ 0:02] # a new program state was stored as #31 [ 0:02] # active threads: [0:0] [ 0:02] # a new program state was stored as #32 [ 0:02] # active threads: [0:0] [ 0:02] # a new program state was stored as #33 [ 0:02] # active threads: [0:0] [ 0:02] # a new program state was stored as #34 [ 0:02] # active threads: [0:0] [ 0:02] # a new program state was stored as #35 [ 0:02] # active threads: [0:0] [ 0:02] # a new program state was stored as #36 [ 0:02] # active threads: [0:0] [ 0:02] # a new program state was stored as #37 [ 0:02] # active threads: [0:0] [ 0:02] # a new program state was stored as #38 [ 0:02] # active threads: [0:0] [ 0:02] # a new program state was stored as #39 [ 0:02] # active threads: [0:0] [ 0:02] # a new program state was stored as #40 [ 0:02] # active threads: [0:0] [ 0:02] # a new program state was stored as #41 [ 0:02] # active threads: [0:0] [ 0:02] # a new program state was stored as #42 [ 0:02] # active threads: [0:0] [ 0:02] # a new program state was stored as #43 [ 0:02] # active threads: [0:0] [ 0:02] # a new program state was stored as #44 [ 0:02] # active threads: [0:0] [ 0:02] # a new program state was stored as #45 [ 0:02] # active threads: [0:0] [ 0:02] # a new program state was stored as #46 [ 0:02] # active threads: [0:0] [ 0:02] # a new program state was stored as #47 [ 0:02] # active threads: [0:0] [ 0:02] # a new program state was stored as #48 [ 0:02] # active threads: [0:0] [ 0:02] # a new program state was stored as #49 [ 0:02] # active threads: [0:0] [ 0:02] # a new program state was stored as #50 [ 0:02] # active threads: [0:0] [ 0:02] # a new program state was stored as #51 [ 0:02] # active threads: [0:0] [ 0:02] # a new program state was stored as #52 [ 0:02] # active threads: [0:0] [ 0:02] # a new program state was stored as #53 [ 0:02] # active threads: [0:0] [ 0:02] # a new program state was stored as #54 [ 0:02] # active threads: [0:0] [ 0:02] # a new program state was stored as #55 [ 0:02] # active threads: [0:0] [ 0:02] # a new program state was stored as #56 [ 0:02] # active threads: [0:0] [ 0:02] # a new program state was stored as #57 [ 0:02] # active threads: [0:0] [ 0:02] # a new program state was stored as #58 [ 0:02] # active threads: [0:0] [ 0:02] # a new program state was stored as #59 [ 0:02] # active threads: [0:0] [ 0:02] # a new program state was stored as #60 [ 0:02] # active threads: [0:0] [ 0:02] # a new program state was stored as #61 [ 0:02] # active threads: [0:0] [ 0:02] # a new program state was stored as #62 [ 0:02] # active threads: [0:0] [ 0:02] # a new program state was stored as #63 [ 0:02] # active threads: [0:0] [ 0:02] # a new program state was stored as #64 [ 0:02] # active threads: [0:0] [ 0:02] # a new program state was stored as #65 [ 0:02] # active threads: [0:0] [ 0:02] # a new program state was stored as #66 [ 0:02] # active threads: [0:0] [ 0:02] # a new program state was stored as #67 [ 0:02] # active threads: [0:0] [ 0:02] # a new program state was stored as #68 [ 0:02] # active threads: [0:0] [ 0:02] # executing main at /home/xrockai/src/divine/next/test/lang-c/ptr-arith.c:7 [ 0:02] > step --over [ 0:02] %02 = call @malloc [i64 4 d] # [global* 0 0 uun] [ 0:02] %04 = getelementptr %02 [i64 1 d] # [global* 0 1 ddn] [ 0:02] # executing main at /home/xrockai/src/divine/next/test/lang-c/ptr-arith.c:8 [ 0:02] > step --over [ 0:02] %05 = ptrtoint %04 # [i64 1 d] [ 0:02] %06 = ptrtoint %02 # [i64 0 d] [ 0:02] %07 = sub %05 %06 # [i64 1 d] [ 0:02] %08 = icmp.eq %07 [i64 1 d] # [i1 1 01] [ 0:02] br %08 label %cond.false label %cond.true [ 0:02] br label %cond.end [ 0:02] # executing main at /home/xrockai/src/divine/next/test/lang-c/ptr-arith.c:9 [ 0:02] [ 0:02] = expected ========== [ 0:02] + ^# executing __boot [ 0:02] > start [ 0:02] + ^# executing main [ 0:02] > step --over [ 0:02] + ^# executing main at /home/xrockai/src/divine/next/test/lang-c/ptr-arith.c:8 [ 0:02] > step --over [ 0:02] + ^# executing main at /home/xrockai/src/divine/next/test/lang-c/ptr-arith.c:9 [ 0:02] [ 0:02] = matched =========== [ 0:02] # executing __boot at /dios/config/common.hpp:28 | ^# executing __boot [ 0:02] > start | ^> start [ 0:02] # executing main at /home/xrockai/src/divine/next/test/lang-c/ptr-arith.c:7 | ^# executing main [ 0:02] > step --over | ^> step --over [ 0:02] # executing main at /home/xrockai/src/divine/next/test/lang-c/ptr-arith.c:8 | ^# executing main at /home/xrockai/src/divine/next/test/lang-c/ptr-arith.c:8 [ 0:02] > step --over | ^> step --over [ 0:02] # executing main at /home/xrockai/src/divine/next/test/lang-c/ptr-arith.c:9 | ^# executing main at /home/xrockai/src/divine/next/test/lang-c/ptr-arith.c:9 [ 0:02] + sim /home/xrockai/src/divine/next/test/lang-c/ptr-arith.c [ 0:02] compiling /home/xrockai/src/divine/next/test/lang-c/ptr-arith.c [ 0:02] [ 0:04] ^ —————. —.— . . —.— . . .————— . . [ 0:04] ——— | | | | | | |\ | | | | [ 0:04] —(o)— | | | | | | | \ | |———— '————| [ 0:04] ——————— | | | \ / | | \| | | [ 0:04] ————————— —————' —'— ' —'— ' ' '————— ' [ 0:04] [ 0:04] Welcome to 'divine sim', an interactive debugger. Type 'help' to get started. [ 0:04] # executing __boot at /dios/config/common.hpp:28 [ 0:04] > start [ 0:04] # a new program state was stored as #1 [ 0:04] # active threads: [0:0] [ 0:04] # a new program state was stored as #2 [ 0:04] # active threads: [0:0] [ 0:04] # a new program state was stored as #3 [ 0:04] # active threads: [0:0] [ 0:04] # a new program state was stored as #4 [ 0:04] # active threads: [0:0] [ 0:04] # a new program state was stored as #5 [ 0:04] # active threads: [0:0] [ 0:04] # a new program state was stored as #6 [ 0:04] # active threads: [0:0] [ 0:04] # a new program state was stored as #7 [ 0:04] # active threads: [0:0] [ 0:04] # a new program state was stored as #8 [ 0:04] # active threads: [0:0] [ 0:04] # a new program state was stored as #9 [ 0:04] # active threads: [0:0] [ 0:04] # a new program state was stored as #10 [ 0:04] # active threads: [0:0] [ 0:04] # a new program state was stored as #11 [ 0:04] # active threads: [0:0] [ 0:04] # a new program state was stored as #12 [ 0:04] # active threads: [0:0] [ 0:04] # a new program state was stored as #13 [ 0:04] # active threads: [0:0] [ 0:04] # a new program state was stored as #14 [ 0:04] # active threads: [0:0] [ 0:04] # a new program state was stored as #15 [ 0:04] # active threads: [0:0] [ 0:04] # a new program state was stored as #16 [ 0:04] # active threads: [0:0] [ 0:04] # a new program state was stored as #17 [ 0:04] # active threads: [0:0] [ 0:04] # a new program state was stored as #18 [ 0:04] # active threads: [0:0] [ 0:04] # a new program state was stored as #19 [ 0:04] # active threads: [0:0] [ 0:04] # a new program state was stored as #20 [ 0:04] # active threads: [0:0] [ 0:04] # a new program state was stored as #21 [ 0:04] # active threads: [0:0] [ 0:04] # a new program state was stored as #22 [ 0:04] # active threads: [0:0] [ 0:04] # a new program state was stored as #23 [ 0:04] # active threads: [0:0] [ 0:04] # a new program state was stored as #24 [ 0:04] # active threads: [0:0] [ 0:04] # a new program state was stored as #25 [ 0:04] # active threads: [0:0] [ 0:04] # a new program state was stored as #26 [ 0:04] # active threads: [0:0] [ 0:04] # a new program state was stored as #27 [ 0:04] # active threads: [0:0] [ 0:04] # a new program state was stored as #28 [ 0:04] # active threads: [0:0] [ 0:04] # a new program state was stored as #29 [ 0:04] # active threads: [0:0] [ 0:04] # a new program state was stored as #30 [ 0:04] # active threads: [0:0] [ 0:04] # a new program state was stored as #31 [ 0:04] # active threads: [0:0] [ 0:04] # a new program state was stored as #32 [ 0:04] # active threads: [0:0] [ 0:04] # a new program state was stored as #33 [ 0:04] # active threads: [0:0] [ 0:04] # a new program state was stored as #34 [ 0:04] # active threads: [0:0] [ 0:04] # a new program state was stored as #35 [ 0:04] # active threads: [0:0] [ 0:04] # a new program state was stored as #36 [ 0:04] # active threads: [0:0] [ 0:04] # a new program state was stored as #37 [ 0:04] # active threads: [0:0] [ 0:04] # a new program state was stored as #38 [ 0:04] # active threads: [0:0] [ 0:04] # a new program state was stored as #39 [ 0:04] # active threads: [0:0] [ 0:04] # a new program state was stored as #40 [ 0:04] # active threads: [0:0] [ 0:04] # a new program state was stored as #41 [ 0:04] # active threads: [0:0] [ 0:04] # a new program state was stored as #42 [ 0:04] # active threads: [0:0] [ 0:04] # a new program state was stored as #43 [ 0:04] # active threads: [0:0] [ 0:04] # a new program state was stored as #44 [ 0:04] # active threads: [0:0] [ 0:04] # a new program state was stored as #45 [ 0:04] # active threads: [0:0] [ 0:04] # a new program state was stored as #46 [ 0:04] # active threads: [0:0] [ 0:04] # a new program state was stored as #47 [ 0:04] # active threads: [0:0] [ 0:04] # a new program state was stored as #48 [ 0:04] # active threads: [0:0] [ 0:04] # a new program state was stored as #49 [ 0:04] # active threads: [0:0] [ 0:04] # a new program state was stored as #50 [ 0:04] # active threads: [0:0] [ 0:04] # a new program state was stored as #51 [ 0:04] # active threads: [0:0] [ 0:04] # a new program state was stored as #52 [ 0:04] # active threads: [0:0] [ 0:04] # a new program state was stored as #53 [ 0:04] # active threads: [0:0] [ 0:04] # a new program state was stored as #54 [ 0:04] # active threads: [0:0] [ 0:04] # a new program state was stored as #55 [ 0:04] # active threads: [0:0] [ 0:04] # a new program state was stored as #56 [ 0:04] # active threads: [0:0] [ 0:04] # a new program state was stored as #57 [ 0:04] # active threads: [0:0] [ 0:04] # a new program state was stored as #58 [ 0:04] # active threads: [0:0] [ 0:04] # a new program state was stored as #59 [ 0:04] # active threads: [0:0] [ 0:04] # a new program state was stored as #60 [ 0:04] # active threads: [0:0] [ 0:04] # a new program state was stored as #61 [ 0:04] # active threads: [0:0] [ 0:04] # a new program state was stored as #62 [ 0:04] # active threads: [0:0] [ 0:04] # a new program state was stored as #63 [ 0:04] # active threads: [0:0] [ 0:04] # a new program state was stored as #64 [ 0:04] # active threads: [0:0] [ 0:04] # a new program state was stored as #65 [ 0:04] # active threads: [0:0] [ 0:04] # a new program state was stored as #66 [ 0:04] # active threads: [0:0] [ 0:04] # a new program state was stored as #67 [ 0:04] # active threads: [0:0] [ 0:04] # a new program state was stored as #68 [ 0:04] # active threads: [0:0] [ 0:04] # executing main at /home/xrockai/src/divine/next/test/lang-c/ptr-arith.c:7 [ 0:04] > step [ 0:04] %02 = call @malloc [i64 4 d] # [global* 0 0 uun] [ 0:04] # executing main at /home/xrockai/src/divine/next/test/lang-c/ptr-arith.c:8 [ 0:04] > step [ 0:04] %04 = getelementptr %02 [i64 1 d] # [global* 0 1 ddn] [ 0:04] %05 = ptrtoint %04 # [i64 1 d] [ 0:04] %06 = ptrtoint %02 # [i64 0 d] [ 0:04] %07 = sub %05 %06 # [i64 1 d] [ 0:04] %08 = icmp.eq %07 [i64 1 d] # [i1 1 01] [ 0:04] br %08 label %cond.false label %cond.true [ 0:04] br label %cond.end [ 0:04] # executing main at /home/xrockai/src/divine/next/test/lang-c/ptr-arith.c:9 [ 0:04] [ 0:04] = expected ========== [ 0:04] + ^# executing __boot [ 0:04] > start [ 0:04] + ^# executing main [ 0:04] > step [ 0:04] + ^# executing main at /home/xrockai/src/divine/next/test/lang-c/ptr-arith.c:8 [ 0:04] > step [ 0:04] + ^# executing main at /home/xrockai/src/divine/next/test/lang-c/ptr-arith.c:9 [ 0:04] [ 0:04] = matched =========== [ 0:04] # executing __boot at /dios/config/common.hpp:28 | ^# executing __boot [ 0:04] > start | ^> start [ 0:04] # executing main at /home/xrockai/src/divine/next/test/lang-c/ptr-arith.c:7 | ^# executing main [ 0:04] > step | ^> step [ 0:04] # executing main at /home/xrockai/src/divine/next/test/lang-c/ptr-arith.c:8 | ^# executing main at /home/xrockai/src/divine/next/test/lang-c/ptr-arith.c:8 [ 0:04] > step | ^> step [ 0:04] # executing main at /home/xrockai/src/divine/next/test/lang-c/ptr-arith.c:9 | ^# executing main at /home/xrockai/src/divine/next/test/lang-c/ptr-arith.c:9 [ 0:04] + sim /home/xrockai/src/divine/next/test/lang-c/ptr-arith.c [ 0:04] compiling /home/xrockai/src/divine/next/test/lang-c/ptr-arith.c [ 0:04] [ 0:06] ^ —————. —.— . . —.— . . .————— . . [ 0:06] ——— | | | | | | |\ | | | | [ 0:06] —(o)— | | | | | | | \ | |———— '————| [ 0:06] ——————— | | | \ / | | \| | | [ 0:06] ————————— —————' —'— ' —'— ' ' '————— ' [ 0:06] [ 0:06] Welcome to 'divine sim', an interactive debugger. Type 'help' to get started. [ 0:06] # executing __boot at /dios/config/common.hpp:28 [ 0:06] > setup --debug-everything [ 0:06] # executing __boot at /dios/config/common.hpp:28 [ 0:06] > start [ 0:06] # a new program state was stored as #1 [ 0:06] # active threads: [0:0] [ 0:06] # a new program state was stored as #2 [ 0:06] # active threads: [0:0] [ 0:06] # a new program state was stored as #3 [ 0:06] # active threads: [0:0] [ 0:06] # a new program state was stored as #4 [ 0:06] # active threads: [0:0] [ 0:06] # a new program state was stored as #5 [ 0:06] # active threads: [0:0] [ 0:06] # a new program state was stored as #6 [ 0:06] # active threads: [0:0] [ 0:06] # a new program state was stored as #7 [ 0:06] # active threads: [0:0] [ 0:06] # a new program state was stored as #8 [ 0:06] # active threads: [0:0] [ 0:06] # a new program state was stored as #9 [ 0:06] # active threads: [0:0] [ 0:06] # a new program state was stored as #10 [ 0:06] # active threads: [0:0] [ 0:06] # a new program state was stored as #11 [ 0:06] # active threads: [0:0] [ 0:06] # a new program state was stored as #12 [ 0:06] # active threads: [0:0] [ 0:06] # a new program state was stored as #13 [ 0:06] # active threads: [0:0] [ 0:06] # a new program state was stored as #14 [ 0:06] # active threads: [0:0] [ 0:06] # a new program state was stored as #15 [ 0:06] # active threads: [0:0] [ 0:06] # a new program state was stored as #16 [ 0:06] # active threads: [0:0] [ 0:06] # a new program state was stored as #17 [ 0:06] # active threads: [0:0] [ 0:06] # a new program state was stored as #18 [ 0:06] # active threads: [0:0] [ 0:06] # a new program state was stored as #19 [ 0:06] # active threads: [0:0] [ 0:06] # a new program state was stored as #20 [ 0:06] # active threads: [0:0] [ 0:06] # a new program state was stored as #21 [ 0:06] # active threads: [0:0] [ 0:06] # a new program state was stored as #22 [ 0:06] # active threads: [0:0] [ 0:06] # a new program state was stored as #23 [ 0:06] # active threads: [0:0] [ 0:06] # a new program state was stored as #24 [ 0:06] # active threads: [0:0] [ 0:06] # a new program state was stored as #25 [ 0:06] # active threads: [0:0] [ 0:06] # a new program state was stored as #26 [ 0:06] # active threads: [0:0] [ 0:06] # a new program state was stored as #27 [ 0:06] # active threads: [0:0] [ 0:06] # a new program state was stored as #28 [ 0:06] # active threads: [0:0] [ 0:06] # a new program state was stored as #29 [ 0:06] # active threads: [0:0] [ 0:06] # a new program state was stored as #30 [ 0:06] # active threads: [0:0] [ 0:06] # a new program state was stored as #31 [ 0:06] # active threads: [0:0] [ 0:06] # a new program state was stored as #32 [ 0:06] # active threads: [0:0] [ 0:06] # a new program state was stored as #33 [ 0:06] # active threads: [0:0] [ 0:06] # a new program state was stored as #34 [ 0:06] # active threads: [0:0] [ 0:06] # a new program state was stored as #35 [ 0:06] # active threads: [0:0] [ 0:06] # a new program state was stored as #36 [ 0:06] # active threads: [0:0] [ 0:06] # a new program state was stored as #37 [ 0:06] # active threads: [0:0] [ 0:06] # a new program state was stored as #38 [ 0:06] # active threads: [0:0] [ 0:06] # a new program state was stored as #39 [ 0:06] # active threads: [0:0] [ 0:06] # a new program state was stored as #40 [ 0:06] # active threads: [0:0] [ 0:06] # a new program state was stored as #41 [ 0:06] # active threads: [0:0] [ 0:06] # a new program state was stored as #42 [ 0:06] # active threads: [0:0] [ 0:06] # a new program state was stored as #43 [ 0:06] # active threads: [0:0] [ 0:06] # a new program state was stored as #44 [ 0:06] # active threads: [0:0] [ 0:06] # a new program state was stored as #45 [ 0:06] # active threads: [0:0] [ 0:06] # a new program state was stored as #46 [ 0:06] # active threads: [0:0] [ 0:06] # a new program state was stored as #47 [ 0:06] # active threads: [0:0] [ 0:06] # a new program state was stored as #48 [ 0:06] # active threads: [0:0] [ 0:06] # a new program state was stored as #49 [ 0:06] # active threads: [0:0] [ 0:06] # a new program state was stored as #50 [ 0:06] # active threads: [0:0] [ 0:06] # a new program state was stored as #51 [ 0:06] # active threads: [0:0] [ 0:06] # a new program state was stored as #52 [ 0:06] # active threads: [0:0] [ 0:06] # a new program state was stored as #53 [ 0:06] # active threads: [0:0] [ 0:06] # a new program state was stored as #54 [ 0:06] # active threads: [0:0] [ 0:06] # a new program state was stored as #55 [ 0:06] # active threads: [0:0] [ 0:06] # a new program state was stored as #56 [ 0:06] # active threads: [0:0] [ 0:06] # a new program state was stored as #57 [ 0:06] # active threads: [0:0] [ 0:06] # a new program state was stored as #58 [ 0:06] # active threads: [0:0] [ 0:06] # a new program state was stored as #59 [ 0:06] # active threads: [0:0] [ 0:06] # a new program state was stored as #60 [ 0:06] # active threads: [0:0] [ 0:06] # a new program state was stored as #61 [ 0:06] # active threads: [0:0] [ 0:06] # a new program state was stored as #62 [ 0:06] # active threads: [0:0] [ 0:06] # a new program state was stored as #63 [ 0:06] # active threads: [0:0] [ 0:06] # a new program state was stored as #64 [ 0:06] # active threads: [0:0] [ 0:06] # a new program state was stored as #65 [ 0:06] # active threads: [0:0] [ 0:06] # a new program state was stored as #66 [ 0:06] # active threads: [0:0] [ 0:06] # a new program state was stored as #67 [ 0:06] # active threads: [0:0] [ 0:06] # a new program state was stored as #68 [ 0:06] # active threads: [0:0] [ 0:06] # executing main at /home/xrockai/src/divine/next/test/lang-c/ptr-arith.c:7 [ 0:06] > step --over [ 0:06] %02 = call @malloc [i64 4 d] # [global* 0 0 uun] [ 0:06] %06 = vm.ctl.get [i32 7 d] __vm_ctl_get # [global* 0 0 ddn] [ 0:06] %07 = ptrtoint %06 # [i64 0 d] [ 0:06] %08 = and %07 [i64 32 d] # [i64 0 d] [ 0:06] %09 = icmp.ne %08 [i64 0 d] # [i1 0 01] [ 0:06] %0b = load [global* 5 0 ddp] # [i8 1 d] [ 0:06] %0c = and %0b [i8 1 d] # [i8 1 d] [ 0:06] %0d = icmp.eq %0c [i8 0 d] # [i1 0 01] [ 0:06] %0e = or %0d %09 # [i1 0 01] [ 0:06] br %0e label %cond.true label %cond.end [ 0:06] %11 = vm.choose [i32 2 d] __vm_choose # [i32 0 d] [ 0:06] %12 = icmp.ne %11 [i32 0 d] # [i1 0 01] [ 0:06] br label %cond.end [ 0:06] %16 = icmp.ne [i64 4 d] [i64 0 d] # [i1 1 01] [ 0:06] %17 = and %16 %15 # [i1 0 01] [ 0:06] br %17 label %cleanup label %if.then [ 0:06] ret %1e [ 0:06] # executing main at /home/xrockai/src/divine/next/test/lang-c/ptr-arith.c:8 [ 0:06] > step --over [ 0:06] %04 = getelementptr %02 [i64 1 d] # [global* 0 1 ddn] [ 0:06] %05 = ptrtoint %04 # [i64 1 d] [ 0:06] %06 = ptrtoint %02 # [i64 0 d] [ 0:06] %07 = sub %05 %06 # [i64 1 d] [ 0:06] %08 = icmp.eq %07 [i64 1 d] # [i1 1 01] [ 0:06] br %08 label %cond.false label %cond.true [ 0:06] br label %cond.end [ 0:06] # executing main at /home/xrockai/src/divine/next/test/lang-c/ptr-arith.c:9 [ 0:06] [ 0:06] = expected ========== [ 0:06] + ^# executing __boot [ 0:06] > setup --debug-everything [ 0:06] > start [ 0:06] + ^# executing main [ 0:06] > step --over [ 0:06] + ^# executing main at /home/xrockai/src/divine/next/test/lang-c/ptr-arith.c:8 [ 0:06] > step --over [ 0:06] + ^# executing main at /home/xrockai/src/divine/next/test/lang-c/ptr-arith.c:9 [ 0:06] [ 0:06] = matched =========== [ 0:06] # executing __boot at /dios/config/common.hpp:28 | ^# executing __boot [ 0:06] > setup --debug-everything | ^> setup --debug-everything [ 0:06] > start | ^> start [ 0:06] # executing main at /home/xrockai/src/divine/next/test/lang-c/ptr-arith.c:7 | ^# executing main [ 0:06] > step --over | ^> step --over [ 0:06] # executing main at /home/xrockai/src/divine/next/test/lang-c/ptr-arith.c:8 | ^# executing main at /home/xrockai/src/divine/next/test/lang-c/ptr-arith.c:8 [ 0:06] > step --over | ^> step --over [ 0:06] # executing main at /home/xrockai/src/divine/next/test/lang-c/ptr-arith.c:9 | ^# executing main at /home/xrockai/src/divine/next/test/lang-c/ptr-arith.c:9 [ 0:06] + check debris [ 0:06] + test -e warning