forked from diffblue/cbmc
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' of github.com:diffblue/cbmc into develop
- Loading branch information
Showing
5 changed files
with
28 additions
and
1 deletion.
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,19 @@ | ||
public class Test { | ||
|
||
public static boolean test(char c1, char c2, char c3, char c4, char c5, char c6, char c7, char c8) { | ||
StringBuilder sb = new StringBuilder(""); | ||
sb.append(c1); | ||
sb.append(c2); | ||
sb.append(c3); | ||
sb.append(c4); | ||
sb.append(c5); | ||
sb.append(c6); | ||
sb.append(c7); | ||
sb.append(c8); | ||
if (sb.toString().equals("\b\t\n\f\r\"\'\\")) | ||
return true; | ||
if (!sb.toString().equals("\b\t\n\f\r\"\'\\")) | ||
return false; | ||
return true; | ||
} | ||
} |
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,6 @@ | ||
CORE | ||
Test.class | ||
--refine-strings --function Test.test --cover location --trace --json-ui | ||
^EXIT=0$ | ||
^SIGNAL=0$ | ||
20 of 23 covered \(87.0%\)|30 of 44 covered \(68.2%\) |
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
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