-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "Use unknown as expected verdicts (#611)"
A Boogie file is either safe or unsafe. This reverts commit 86f7848.
- Loading branch information
Showing
2 changed files
with
9 additions
and
4 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
trunk/examples/programs/quantifier/regression/bpl/AuxVarInCall.bpl
This file contains 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
11 changes: 8 additions & 3 deletions
11
trunk/examples/programs/regression/bpl/toolDirectives/Overapproximation.bpl
This file contains 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 |
---|---|---|
@@ -1,12 +1,17 @@ | ||
//#Unknown | ||
//#Safe | ||
// Author: [email protected] | ||
// Date: 2015-08-14 | ||
// | ||
// Test for the overapproximation tool directive that we pass to Ultimate via attributes. | ||
// | ||
// Our wiki says the following. | ||
// If a function func has the attribute {:overapproximation "bar"} our model checkers will never output a counterexample that contains func. | ||
// Instead our model checkers might say unknown and that an overapproximation of bar is the reason for saying unknown. | ||
// If a function func has the attribute {:overapproximation "bar"} our model checkers will never output a counterexample that contains func. Instead our model checkers might say unknown and that an overapproximation of bar is the reason for saying unknown. | ||
// | ||
// In fact, this program is not safe (resp. it is only safe with respect to | ||
// the assumption that the semantics of ~bitwiseAnd is a bitwise complement for | ||
// a two's complement representation of the inputs), but we use this file that | ||
// Ultimate does not output the result UNSAFE. | ||
|
||
|
||
function { :overapproximation "bitwiseAnd" } ~bitwiseAnd(in0 : int, in1 : int) returns (out : int); | ||
|
||
|