forked from diffblue/cbmc
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This checks the bug with class identifier of nondet strings was fixed.
- Loading branch information
1 parent
12ca989
commit 10d3857
Showing
3 changed files
with
17 additions
and
0 deletions.
There are no files selected for viewing
Binary file not shown.
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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
public class Test { | ||
|
||
public static String check(String s) { | ||
if (s == null) | ||
return "null"; | ||
assert(s instanceof String); | ||
return "non-null"; | ||
} | ||
} |
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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
CORE | ||
Test.class | ||
--refine-strings --string-max-length 1000 --function Test.check | ||
^EXIT=0$ | ||
^SIGNAL=0$ | ||
assertion at file Test.java line 6 .* SUCCESS$ | ||
^VERIFICATION SUCCESSFUL$ | ||
-- |