summaryrefslogtreecommitdiff
path: root/Test/test15
diff options
context:
space:
mode:
authorGravatar rustanleino <unknown>2010-09-24 01:11:16 +0000
committerGravatar rustanleino <unknown>2010-09-24 01:11:16 +0000
commitf14dcef0d8c0459638c81f7a82972055cfd5d4f7 (patch)
tree28295afd3933d73e79d527b4381cb36679ca82a2 /Test/test15
parenta04d88a901acc617b5270c8553f4680916ca216f (diff)
Boogie:
* Added Test/textbook/DivMod.bpl, which embodies a conversion between C's div/mod operators and SMT Lib's div/mod operators. * Added a rudimentary printing of variables for captured states. It doesn't attempt to print everything at this time, and it doesn't work when variables get unique-ified by @@-suffixes. A more complete implementation will be added at a later time.
Diffstat (limited to 'Test/test15')
-rw-r--r--Test/test15/Answer28
1 files changed, 28 insertions, 0 deletions
diff --git a/Test/test15/Answer b/Test/test15/Answer
index 969bbe41..825df64f 100644
--- a/Test/test15/Answer
+++ b/Test/test15/Answer
@@ -200,8 +200,36 @@ Execution trace:
CaptureState.bpl(24,5): anon3
Captured states:
top
+ Heap = *8
+ F = *10
+ this = *9
+ x = x
+ y = y
+ r = r
+ m = -2
then
+ Heap = *8
+ F = *10
+ this = *9
+ x = x
+ y = y
+ r = r
+ m = -1
postUpdate0
+ Heap = *8
+ F = *10
+ this = *9
+ x = x
+ y = y
+ r = r
+ m = -1
end
+ Heap = *8
+ F = *10
+ this = *9
+ x = x
+ y = y
+ r = -2
+ m = -1
Boogie program verifier finished with 0 verified, 1 error