Skip to content

Refactoring assign_java_string_to_string_expr with process_operands #1259

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
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion regression/strings-smoke-tests/java_append_int/test.desc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FUTURE
test_append_int.class
--refine-strings
--refine-strings --string-max-length 1000
^EXIT=0$
^SIGNAL=0$
^VERIFICATION SUCCESSFUL$
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FUTURE
test_append_object.class
--refine-strings
--refine-strings --string-max-length 1000
^EXIT=0$
^SIGNAL=0$
^VERIFICATION SUCCESSFUL$
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
CORE
test_append_string.class
--refine-strings
--refine-strings --string-max-length 1000
^EXIT=0$
^SIGNAL=0$
^VERIFICATION SUCCESSFUL$
Expand Down
2 changes: 1 addition & 1 deletion regression/strings-smoke-tests/java_char_array/test.desc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
CORE
test_char_array.class
--refine-strings
--refine-strings --string-max-length 1000
^EXIT=10$
^SIGNAL=0$
.*assertion.* test_char_array.java line 9 .* SUCCESS$
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FUTURE
test_init.class
--refine-strings
--refine-strings --string-max-length 1000
^EXIT=0$
^SIGNAL=0$
^VERIFICATION SUCCESSFUL$
Expand Down
2 changes: 1 addition & 1 deletion regression/strings-smoke-tests/java_char_at/test.desc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
CORE
test_char_at.class
--refine-strings
--refine-strings --string-max-length 1000
^EXIT=0$
^SIGNAL=0$
^VERIFICATION SUCCESSFUL$
Expand Down
2 changes: 1 addition & 1 deletion regression/strings-smoke-tests/java_code_point/test.desc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
CORE
test_code_point.class
--refine-strings
--refine-strings --string-max-length 1000
^EXIT=0$
^SIGNAL=0$
^VERIFICATION SUCCESSFUL$
Expand Down
2 changes: 1 addition & 1 deletion regression/strings-smoke-tests/java_compare/test.desc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
CORE
test_compare.class
--refine-strings
--refine-strings --string-max-length 1000
^EXIT=0$
^SIGNAL=0$
^VERIFICATION SUCCESSFUL$
Expand Down
2 changes: 1 addition & 1 deletion regression/strings-smoke-tests/java_concat/test.desc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
CORE
test_concat.class
--refine-strings
--refine-strings --string-max-length 1000
^EXIT=10$
^SIGNAL=0$
^\[.*assertion.1\].* line 10.* SUCCESS$
Expand Down
2 changes: 1 addition & 1 deletion regression/strings-smoke-tests/java_delete/test.desc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
CORE
test_delete.class
--refine-strings
--refine-strings --string-max-length 1000
^EXIT=0$
^SIGNAL=0$
^VERIFICATION SUCCESSFUL$
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
CORE
test_delete_char_at.class
--refine-strings
--refine-strings --string-max-length 1000
^EXIT=0$
^SIGNAL=0$
^VERIFICATION SUCCESSFUL$
Expand Down
2 changes: 1 addition & 1 deletion regression/strings-smoke-tests/java_empty/test.desc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
CORE
test_empty.class
--refine-strings
--refine-strings --string-max-length 1000
^EXIT=0$
^SIGNAL=0$
^VERIFICATION SUCCESSFUL$
Expand Down
2 changes: 1 addition & 1 deletion regression/strings-smoke-tests/java_float/test.desc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FUTURE
test_float.class
--refine-strings
--refine-strings --string-max-length 1000
^EXIT=0$
^SIGNAL=0$
^VERIFICATION SUCCESSFUL$
Expand Down
2 changes: 1 addition & 1 deletion regression/strings-smoke-tests/java_hash_code/test.desc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
CORE
test_hash_code.class
--refine-strings
--refine-strings --string-max-length 1000
^EXIT=10$
^SIGNAL=0$
^\[.*assertion.1\].* line 8.* SUCCESS$
Expand Down
2 changes: 1 addition & 1 deletion regression/strings-smoke-tests/java_index_of/test.desc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
CORE
test_index_of.class
--refine-strings
--refine-strings --string-max-length 1000
^EXIT=0$
^SIGNAL=0$
^VERIFICATION SUCCESSFUL$
Expand Down
2 changes: 1 addition & 1 deletion regression/strings-smoke-tests/java_index_of2/test.desc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
CORE
test_index_of2.class
--refine-strings
--refine-strings --string-max-length 1000
^EXIT=10$
^SIGNAL=0$
^VERIFICATION FAILED$
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
CORE
test_index_of_char.class
--refine-strings
--refine-strings --string-max-length 1000
^EXIT=0$
^SIGNAL=0$
^VERIFICATION SUCCESSFUL$
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
CORE
Test1.class
--refine-strings
--refine-strings --string-max-length 1000
^EXIT=10$
^SIGNAL=0$
assertion.* line 7 .* SUCCESS$
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
CORE
Test2.class
--refine-strings
--refine-strings --string-max-length 1000
^EXIT=10$
^SIGNAL=0$
assertion.* line 7 .* SUCCESS$
Expand Down
11 changes: 11 additions & 0 deletions regression/strings-smoke-tests/java_int_to_string/test2_bug.desc
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
KNOWNBUG
Test2.class
--refine-strings
^EXIT=10$
^SIGNAL=0$
assertion.* line 7 .* SUCCESS$
assertion.* line 10 .* FAILURE$
--
--
When string-max-length is not set, the solver can run out of memory in
an unpredictable way.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
CORE
Test4.class
--refine-strings
--refine-strings --string-max-length 1000
^EXIT=10$
^SIGNAL=0$
assertion.* line 7 .* SUCCESS$
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
KNOWNBUG
Test.class
--refine-strings
--refine-strings --string-max-length 1000
^EXIT=10$
^SIGNAL=0$
assertion.* line 7 .* SUCCESS$
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
CORE
Test_binary3.class
--refine-strings
--refine-strings --string-max-length 1000
^EXIT=10$
^SIGNAL=0$
assertion.* line 7 .* SUCCESS$
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
CORE
Test_decimal.class
--refine-strings
--refine-strings --string-max-length 1000
^EXIT=10$
^SIGNAL=0$
assertion.* line 7 .* SUCCESS$
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
CORE
Test_octal1.class
--refine-strings
--refine-strings --string-max-length 1000
^EXIT=10$
^SIGNAL=0$
assertion.* line 7 .* SUCCESS$
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
KNOWNBUG
Test_binary.class
--refine-strings
--refine-strings --string-max-length 1000
^EXIT=10$
^SIGNAL=0$
assertion.* line 7 .* SUCCESS$
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
KNOWNBUG
Test_hex.class
--refine-strings
--refine-strings --string-max-length 1000
^EXIT=10$
^SIGNAL=0$
assertion.* line 7 .* SUCCESS$
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
KNOWNBUG
Test_octal.class
--refine-strings
--refine-strings --string-max-length 1000
^EXIT=10$
^SIGNAL=0$
assertion.* line 7 .* SUCCESS$
Expand Down
2 changes: 1 addition & 1 deletion regression/strings-smoke-tests/java_intern/test.desc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
CORE
test_intern.class
--refine-strings
--refine-strings --string-max-length 1000
^EXIT=0$
^SIGNAL=0$
^\[.*assertion.1\].* line 9.* SUCCESS$
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
CORE
test_last_index_of.class
--refine-strings
--refine-strings --string-max-length 1000
^EXIT=10$
^SIGNAL=0$
^\[.*assertion.1\].* line 8.* SUCCESS$
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
CORE
test_last_index_of2.class
--refine-strings
--refine-strings --string-max-length 1000
^EXIT=0$
^SIGNAL=0$
^VERIFICATION SUCCESSFUL$
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
CORE
test_last_index_of_char.class
--refine-strings
--refine-strings --string-max-length 1000
^EXIT=0$
^SIGNAL=0$
^VERIFICATION SUCCESSFUL$
Expand Down
2 changes: 1 addition & 1 deletion regression/strings-smoke-tests/java_length/test.desc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
CORE
test_length.class
--refine-strings
--refine-strings --string-max-length 1000
^EXIT=10$
^SIGNAL=0$
^VERIFICATION FAILED$
Expand Down
2 changes: 1 addition & 1 deletion regression/strings-smoke-tests/java_length2/test.desc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FUTURE
test.class
--refine-strings --function test.check
--refine-strings --string-max-length 1000 --function test.check
^EXIT=0$
^SIGNAL=0$
^VERIFICATION SUCCESSFUL$
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
CORE
Test1.class
--refine-strings
--refine-strings --string-max-length 1000
^EXIT=10$
^SIGNAL=0$
assertion.* line 7 .* SUCCESS$
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
THOROUGH
Test2.class
--refine-strings
--refine-strings --string-max-length 1000
^EXIT=10$
^SIGNAL=0$
assertion.* line 7 .* SUCCESS$
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
THOROUGH
Test3.class
--refine-strings
--refine-strings --string-max-length 1000
^EXIT=10$
^SIGNAL=0$
assertion.* line 7 .* SUCCESS$
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
THOROUGH
Test4.class
--refine-strings
--refine-strings --string-max-length 1000
^EXIT=10$
^SIGNAL=0$
assertion.* line 7 .* SUCCESS$
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
CORE
Test5.class
--refine-strings
--refine-strings --string-max-length 1000
^EXIT=10$
^SIGNAL=0$
assertion.* line 7 .* SUCCESS$
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
THOROUGH
Test_binary1.class
--refine-strings
--refine-strings --string-max-length 1000
^EXIT=10$
^SIGNAL=0$
assertion.* line 7 .* SUCCESS$
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
THOROUGH
Test_binary2.class
--refine-strings
--refine-strings --string-max-length 1000
^EXIT=10$
^SIGNAL=0$
assertion.* line 7 .* SUCCESS$
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
THOROUGH
Test_binary3.class
--refine-strings
--refine-strings --string-max-length 1000
^EXIT=10$
^SIGNAL=0$
assertion.* line 7 .* SUCCESS$
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
CORE
Test_decimal.class
--refine-strings
--refine-strings --string-max-length 1000
^EXIT=10$
^SIGNAL=0$
assertion.* line 7 .* SUCCESS$
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
CORE
Test_hex2.class
--refine-strings
--refine-strings --string-max-length 1000
^EXIT=10$
^SIGNAL=0$
assertion.* line 7 .* SUCCESS$
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
CORE
test.class
--refine-strings --show-goto-functions
--refine-strings --string-max-length 1000 --show-goto-functions
// Enable multi-line checking
activate-multi-line-match
EXIT=0
Expand Down
2 changes: 1 addition & 1 deletion regression/strings-smoke-tests/java_parseint/test1.desc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
CORE
Test1.class
--refine-strings
--refine-strings --string-max-length 1000
^EXIT=10$
^SIGNAL=0$
^\[.*assertion.1\].* line 8.* SUCCESS$
Expand Down
2 changes: 1 addition & 1 deletion regression/strings-smoke-tests/java_parseint/test2.desc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
CORE
Test2.class
--refine-strings
--refine-strings --string-max-length 1000
^EXIT=10$
^SIGNAL=0$
^\[.*assertion.1\].* line 9.* SUCCESS$
Expand Down
2 changes: 1 addition & 1 deletion regression/strings-smoke-tests/java_parseint/test3.desc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
CORE
Test3.class
--refine-strings
--refine-strings --string-max-length 1000
^EXIT=10$
^SIGNAL=0$
^\[.*assertion.1\].* line 7.* FAILURE$
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
KNOWNBUG
Test.class
--refine-strings
--refine-strings --string-max-length 1000
^EXIT=10$
^SIGNAL=0$
^\[.*assertion.1\].* line 10.* SUCCESS$
Expand Down
Loading