-
Notifications
You must be signed in to change notification settings - Fork 40
Sound MoreCompleteExhale on demand #682
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 14 commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
a125302
Switching on moreCompleteExhale temporarily while retrying
marcoeilers 94cbf4e
Merge branch 'master' into meilers_mce_on_demand
jcp19 b2a6639
Merge branch 'master' into meilers_mce_on_demand
jcp19 054e221
Merge branch 'master' into meilers_mce_on_demand
marcoeilers 852ec33
Trying out things
marcoeilers a553e0a
Using summarize in wildcard case to get working snapshots, added expl…
marcoeilers 7f8aaad
Updated option descriptions
marcoeilers 2c083a8
Merge
marcoeilers e3081c3
Cleanup, added test
marcoeilers 46fe73f
Update src/main/scala/Config.scala
marcoeilers 6713ad6
Update src/main/scala/rules/ExecutionFlowController.scala
marcoeilers 2b4fe56
Merge branch 'master' into meilers_mce_on_demand
marcoeilers 880b080
Merge branch 'master' into meilers_mce_on_demand
marcoeilers 9cd92c6
Fixing issue #205 also for MCE
marcoeilers 1b44fa2
Merge branch 'master' into meilers_mce_on_demand
marcoeilers 5de8d17
Incorporated review feedback
marcoeilers File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,37 @@ | ||
| // Any copyright is dedicated to the Public Domain. | ||
| // http://creativecommons.org/publicdomain/zero/1.0/ | ||
|
|
||
| field f: Int | ||
|
|
||
| function req(x: Ref): Bool | ||
| requires acc(x.f, 2/1) | ||
| { true } | ||
|
|
||
| method test(x: Ref) { | ||
| inhale acc(x.f) | ||
| //:: ExpectedOutput(application.precondition:insufficient.permission) | ||
| assert req(x) // Fails only without --enableMoreCompleteExhale (and should fail) | ||
| assert false // Fails even with --enableMoreCompleteExhale (and should fail) | ||
| } | ||
|
|
||
|
|
||
|
|
||
| /////// Example from issue 594 | ||
|
|
||
| field val$_Int: Int | ||
|
|
||
| function getter_pkg_F(param_pkg_V0: Ref): Int | ||
| requires acc(SomePredicate_pkg_F(param_pkg_V0), write) | ||
| { | ||
| (unfolding acc(SomePredicate_pkg_F(param_pkg_V0), write) in param_pkg_V0.val$_Int) | ||
| } | ||
|
|
||
| predicate SomePredicate_pkg_F(param_pkg_V0: Ref) { | ||
| true && acc(param_pkg_V0.val$_Int, write) | ||
| } | ||
|
|
||
| method client2_pkg_F(param_pkg_V0: Ref) returns (res_pkg_V0: Int) | ||
| requires acc(SomePredicate_pkg_F(param_pkg_V0), 1 / 2) | ||
| ensures acc(SomePredicate_pkg_F(param_pkg_V0), 1 / 2) | ||
| //:: ExpectedOutput(application.precondition:insufficient.permission) | ||
| ensures res_pkg_V0 == getter_pkg_F(param_pkg_V0) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.