Skip to content

Commit f570ce5

Browse files
authored
Merge pull request #1696 from smowton/smowton/fix/identical_struct_equality
Replace unsound struct-cast simplification
2 parents 61b0d6d + 42cf61a commit f570ce5

File tree

116 files changed

+253
-118
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

116 files changed

+253
-118
lines changed
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
CORE
22
test_append_char.class
3-
--refine-strings --string-max-length 1000
3+
--refine-strings --verbosity 10 --string-max-length 1000
44
^EXIT=10$
55
^SIGNAL=0$
66
assertion.* file test_append_char.java line 23 .* SUCCESS
77
assertion.* file test_append_char.java line 25 .* FAILURE
88
--
9+
non equal types
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
FUTURE
22
test_append_int.class
3-
--refine-strings --string-max-length 1000
3+
--refine-strings --verbosity 10 --string-max-length 1000
44
^EXIT=0$
55
^SIGNAL=0$
66
^VERIFICATION SUCCESSFUL$
77
--
8+
non equal types
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
FUTURE
22
test_append_object.class
3-
--refine-strings --string-max-length 1000
3+
--refine-strings --verbosity 10 --string-max-length 1000
44
^EXIT=0$
55
^SIGNAL=0$
66
^VERIFICATION SUCCESSFUL$
77
--
8+
non equal types
9+
--
810
Issue: diffblue/test-gen#82
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
CORE
22
test_append_string.class
3-
--refine-strings --string-max-length 1000
3+
--refine-strings --verbosity 10 --string-max-length 1000
44
^EXIT=0$
55
^SIGNAL=0$
66
^VERIFICATION SUCCESSFUL$
77
--
8+
non equal types
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
CORE
22
test_append_string.class
3-
--refine-strings --string-max-length 10 --function test_append_string.check --java-assume-inputs-non-null
3+
--refine-strings --verbosity 10 --string-max-length 10 --function test_append_string.check --java-assume-inputs-non-null
44
^EXIT=10$
55
^SIGNAL=0$
66
^\[.*assertion.*\].* line 22.* SUCCESS$
77
^\[.*assertion.*\].* line 23.* SUCCESS$
88
^\[.*assertion.*\].* line 24.* SUCCESS$
99
^\[.*assertion.*\].* line 25.* FAILURE$
1010
--
11+
non equal types

regression/strings-smoke-tests/java_case/test.desc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
CORE
22
test_case.class
3-
--refine-strings --string-max-length 1000
3+
--refine-strings --verbosity 10 --string-max-length 1000
44
^EXIT=10$
55
^SIGNAL=0$
66
assertion.* file test_case.java line 10 .* SUCCESS$
@@ -10,3 +10,4 @@ assertion.* file test_case.java line 16 .* FAILURE$
1010
assertion.* file test_case.java line 20 .* SUCCESS$
1111
assertion.* file test_case.java line 24 .* FAILURE$
1212
--
13+
non equal types

regression/strings-smoke-tests/java_char_array/test.desc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
CORE
22
test_char_array.class
3-
--refine-strings --string-max-length 1000
3+
--refine-strings --verbosity 10 --string-max-length 1000
44
^EXIT=10$
55
^SIGNAL=0$
66
.*assertion.* test_char_array.java line 7 .* SUCCESS$
@@ -12,3 +12,4 @@ test_char_array.class
1212
.*assertion.* test_char_array.java line 29 .* FAILURE$
1313
^VERIFICATION FAILED$
1414
--
15+
non equal types
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
FUTURE
22
test_init.class
3-
--refine-strings --string-max-length 1000
3+
--refine-strings --verbosity 10 --string-max-length 1000
44
^EXIT=0$
55
^SIGNAL=0$
66
^VERIFICATION SUCCESSFUL$
77
--
8+
non equal types
9+
--
810
cbmc/test-gen#259
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
CORE
22
test_char_at.class
3-
--refine-strings --string-max-length 1000
3+
--refine-strings --verbosity 10 --string-max-length 1000
44
^EXIT=0$
55
^SIGNAL=0$
66
^VERIFICATION SUCCESSFUL$
77
--
8+
non equal types
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
CORE
22
test_code_point.class
3-
--refine-strings --string-max-length 1000
3+
--refine-strings --verbosity 10 --string-max-length 1000
44
^EXIT=0$
55
^SIGNAL=0$
66
^VERIFICATION SUCCESSFUL$
77
--
8+
non equal types

0 commit comments

Comments
 (0)