Skip to content

Commit 903cbc8

Browse files
Make --lazy-methods and --refine-strings default
These options are always required in practical use cases. They can be disabled with --no-lazy-methods and --no-refine-strings if needed for regression tests.
1 parent c6f9231 commit 903cbc8

File tree

21 files changed

+48
-33
lines changed

21 files changed

+48
-33
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
CORE
22
A.class
3-
--function 'A.me:()V' --java-threading --cp `../../../../scripts/format_classpath.sh . ../../../src/java_bytecode/library/core-models.jar`
3+
--function 'A.me:()V' --java-threading --cp `../../../../scripts/format_classpath.sh . ../../../src/java_bytecode/library/core-models.jar` --no-refine-strings --no-lazy-methods
44
^EXIT=0$
55
^SIGNAL=0$
66
^VERIFICATION SUCCESSFUL

jbmc/regression/jbmc-strings/StringLastIndexOf/test.desc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
CORE
22
Test.class
3-
--function Test.check --refine-strings --string-max-length 100
3+
--function Test.check --refine-strings --string-max-input-length 100
44
^EXIT=10$
55
^SIGNAL=0$
66
assertion at file Test.java line 11 .* SUCCESS$

jbmc/regression/jbmc-strings/char_escape/test.desc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ Test.class
33
--refine-strings --function Test.test --cover location --trace --json-ui
44
^EXIT=0$
55
^SIGNAL=0$
6-
20 of 23 covered \(87.0%\)|30 of 44 covered \(68.2%\)
6+
20 of 22 covered \(90.9%\)|30 of 44 covered \(68.2%\)

jbmc/regression/jbmc/annotations1/show_annotation_symbol.desc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
CORE
22
annotations.class
3-
--verbosity 10 --show-symbol-table --function annotations.main
3+
--no-lazy-methods --verbosity 10 --show-symbol-table --function annotations.main
44
^EXIT=0$
55
^SIGNAL=0$
66
^Type\.\.\.\.\.\.\.\.: @java::ClassAnnotation struct annotations

jbmc/regression/jbmc/coreModels/test.desc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
CORE
22
test.class
3-
--show-symbol-table --cp ../../../src/java_bytecode/library/core-models.jar:.
3+
--no-lazy-methods --no-refine-strings --show-symbol-table --cp `../../../../scripts/format_classpath.sh . ../../../src/java_bytecode/library/core-models.jar`
44
^EXIT=0$
55
^SIGNAL=0$
66
^Symbol\s*\.*\: java\:\:org\.cprover\.CProver\.\<init\>\:\(\)V$

jbmc/regression/jbmc/generic_class_bound1/test.desc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
CORE symex-driven-lazy-loading-expected-failure
22
Gn.class
3-
--cover location
3+
--cover location --no-lazy-methods --no-refine-strings
44
^EXIT=0$
55
^SIGNAL=0$
66
.*file Gn.java line 6 function java::Gn.\<init\>:\(\)V bytecode-index 1 block .: FAILED

jbmc/regression/jbmc/lambda2/test_no_crash.desc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
CORE symex-driven-lazy-loading-expected-failure
22
SymStream.class
3-
--verbosity 10 --show-goto-functions
3+
--no-lazy-methods --verbosity 10 --show-goto-functions
44
^EXIT=0
55
^SIGNAL=0
66
--

jbmc/regression/jbmc/lazyloading_synthetic_method_cleanup1/check_clinit_normally_present.desc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
CORE symex-driven-lazy-loading-expected-failure
22
Test.class
3-
--show-goto-functions --function Test.main
3+
--no-lazy-methods --show-goto-functions --function Test.main
44
java::Unused::clinit_wrapper
55
Unused\.<clinit>\(\)
66
^EXIT=0$

jbmc/regression/jbmc/lazyloading_synthetic_method_cleanup2/check_clinit_normally_present.desc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
CORE symex-driven-lazy-loading-expected-failure
22
Test.class
3-
--show-goto-functions --function Test.main
3+
--no-lazy-methods --show-goto-functions --function Test.main
44
java::Unused1::clinit_wrapper
55
java::Unused2::clinit_wrapper
66
Unused2\.<clinit>\(\)

jbmc/regression/jbmc/lazyloading_synthetic_method_cleanup3/check_clinit_normally_present.desc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
CORE symex-driven-lazy-loading-expected-failure
22
Test.class
3-
--show-goto-functions --function Test.main
3+
--no-lazy-methods --show-goto-functions --function Test.main
44
java::Opaque\.<clinit>:\(\)V
55
java::Opaque::clinit_wrapper
66
^EXIT=0$

0 commit comments

Comments
 (0)