File tree 26 files changed +30
-27
lines changed
ArrayIndexOutOfBoundsException1
ArrayIndexOutOfBoundsException2
ArrayIndexOutOfBoundsException3
NegativeArraySizeException1
NegativeArraySizeException2
no-main-int-array-maybe-null1
jbmc-strings/StringEquals
26 files changed +30
-27
lines changed Original file line number Diff line number Diff line change 1
1
KNOWNBUG
2
2
Test.class
3
- --refine-strings --string-max-input-length 5 --string-max-length 100 --unwind 10 --function Test.verify --java- throw-runtime-exceptions
3
+ --refine-strings --string-max-input-length 5 --string-max-length 100 --unwind 10 --function Test.verify --throw-runtime-exceptions
4
4
^EXIT=0$
5
5
^SIGNAL=0$
6
6
assertion at file Test.java line 60 .* SUCCESS
Original file line number Diff line number Diff line change 1
1
CORE
2
2
ArithmeticExceptionTest.class
3
- --java- throw-runtime-exceptions
3
+ --throw-runtime-exceptions
4
4
^EXIT=10$
5
5
^SIGNAL=0$
6
6
^.*assertion at file ArithmeticExceptionTest.java line 8 function.*: FAILURE$
Original file line number Diff line number Diff line change 1
1
CORE
2
2
ArithmeticExceptionTest.class
3
- --java- throw-runtime-exceptions
3
+ --throw-runtime-exceptions
4
4
^EXIT=10$
5
5
^SIGNAL=0$
6
6
^.*assertion at file ArithmeticExceptionTest.java line 9 function.*: FAILURE$
Original file line number Diff line number Diff line change 1
1
CORE
2
2
ArithmeticExceptionTest.class
3
- --java- throw-runtime-exceptions
3
+ --throw-runtime-exceptions
4
4
^EXIT=10$
5
5
^SIGNAL=0$
6
6
^.*assertion at file ArithmeticExceptionTest.java line 8 function.*: FAILURE$
Original file line number Diff line number Diff line change 1
1
CORE
2
2
ArithmeticExceptionTest.class
3
- --java- throw-runtime-exceptions
3
+ --throw-runtime-exceptions
4
4
^EXIT=10$
5
5
^SIGNAL=0$
6
6
^.*assertion at file ArithmeticExceptionTest.java line 9 function.*: FAILURE$
Original file line number Diff line number Diff line change 1
1
CORE
2
2
ArithmeticExceptionTest.class
3
- --java- throw-runtime-exceptions
3
+ --throw-runtime-exceptions
4
4
^EXIT=0$
5
5
^SIGNAL=0$
6
6
^VERIFICATION SUCCESSFUL
Original file line number Diff line number Diff line change 1
1
CORE
2
2
ArithmeticExceptionTest.class
3
- --java- throw-runtime-exceptions --function ArithmeticExceptionTest.main
3
+ --throw-runtime-exceptions --function ArithmeticExceptionTest.main
4
4
^EXIT=10$
5
5
^SIGNAL=0$
6
6
^.*assertion at file ArithmeticExceptionTest.java line 7 function.*: FAILURE$
Original file line number Diff line number Diff line change 1
1
CORE
2
2
ArithmeticExceptionTest.class
3
- --java- throw-runtime-exceptions
3
+ --throw-runtime-exceptions
4
4
^EXIT=10$
5
5
^SIGNAL=0$
6
6
^.*assertion at file ArithmeticExceptionTest.java line 8 function.*: FAILURE$
Original file line number Diff line number Diff line change 1
1
CORE
2
2
ArrayIndexOutOfBoundsExceptionTest.class
3
- --java- throw-runtime-exceptions
3
+ --throw-runtime-exceptions
4
4
^EXIT=10$
5
5
^SIGNAL=0$
6
6
^.*assertion at file ArrayIndexOutOfBoundsExceptionTest.java line 8 function.*: FAILURE$
Original file line number Diff line number Diff line change 1
1
CORE
2
2
ArrayIndexOutOfBoundsExceptionTest.class
3
- --java- throw-runtime-exceptions
3
+ --throw-runtime-exceptions
4
4
^EXIT=10$
5
5
^SIGNAL=0$
6
6
^.*assertion at file ArrayIndexOutOfBoundsExceptionTest.java line 8 function.*: FAILURE$
Original file line number Diff line number Diff line change 1
1
CORE
2
2
ArrayIndexOutOfBoundsExceptionTest.class
3
- --java- throw-runtime-exceptions
3
+ --throw-runtime-exceptions
4
4
^EXIT=10$
5
5
^SIGNAL=0$
6
6
^.*assertion at file ArrayIndexOutOfBoundsExceptionTest.java line 8 function.*: FAILURE$
Original file line number Diff line number Diff line change 1
1
CORE
2
2
ClassCastExceptionTest.class
3
- --java- throw-runtime-exceptions
3
+ --throw-runtime-exceptions
4
4
^EXIT=10$
5
5
^SIGNAL=0$
6
6
^.*assertion at file ClassCastExceptionTest.java line 8 function.*: FAILURE$
Original file line number Diff line number Diff line change 1
1
CORE
2
2
ClassCastExceptionTest.class
3
- --java- throw-runtime-exceptions
3
+ --throw-runtime-exceptions
4
4
^EXIT=0$
5
5
^SIGNAL=0$
6
6
^VERIFICATION SUCCESSFUL$
Original file line number Diff line number Diff line change 1
1
CORE
2
2
ClassCastExceptionTest.class
3
- --java- throw-runtime-exceptions
3
+ --throw-runtime-exceptions
4
4
^EXIT=10$
5
5
^SIGNAL=0$
6
6
^.*assertion at file ClassCastExceptionTest.java line 12 function.*: FAILURE$
Original file line number Diff line number Diff line change 1
1
CORE
2
2
NegativeArraySizeExceptionTest.class
3
- --java- throw-runtime-exceptions
3
+ --throw-runtime-exceptions
4
4
^EXIT=10$
5
5
^SIGNAL=0$
6
6
^.*assertion at file NegativeArraySizeExceptionTest.java line 7 function.*: FAILURE$
Original file line number Diff line number Diff line change 1
1
CORE
2
2
NegativeArraySizeExceptionTest.class
3
- --java- throw-runtime-exceptions
3
+ --throw-runtime-exceptions
4
4
^EXIT=10$
5
5
^SIGNAL=0$
6
6
^.*assertion at file NegativeArraySizeExceptionTest.java line 7 function.*: FAILURE$
Original file line number Diff line number Diff line change 1
1
CORE
2
2
Test.class
3
- --java- throw-runtime-exceptions
3
+ --throw-runtime-exceptions
4
4
^EXIT=10$
5
5
^SIGNAL=0$
6
6
^.*assertion at file Test.java line 14 function.*: FAILURE$
Original file line number Diff line number Diff line change 1
1
CORE
2
2
Test.class
3
- --java- throw-runtime-exceptions
3
+ --throw-runtime-exceptions
4
4
^EXIT=10$
5
5
^SIGNAL=0$
6
6
^.*assertion at file Test.java line 14 function.*: FAILURE$
Original file line number Diff line number Diff line change 1
1
CORE
2
2
Test.class
3
- --java- throw-runtime-exceptions
3
+ --throw-runtime-exceptions
4
4
^EXIT=10$
5
5
^SIGNAL=0$
6
6
^.*assertion at file Test.java line 12 function.*: FAILURE$
Original file line number Diff line number Diff line change 1
1
CORE
2
2
test.class
3
- --java- throw-runtime-exceptions --function test.main
3
+ --throw-runtime-exceptions --function test.main
4
4
^EXIT=0$
5
5
^SIGNAL=0$
6
6
^VERIFICATION SUCCESSFUL$
Original file line number Diff line number Diff line change 1
1
CORE
2
2
test.class
3
- --function test.f --java- throw-runtime-exceptions
3
+ --function test.f --throw-runtime-exceptions
4
4
^EXIT=0$
5
5
^SIGNAL=0$
6
6
VERIFICATION SUCCESSFUL
Original file line number Diff line number Diff line change 1
1
CORE
2
2
test.class
3
- --java- throw-runtime-exceptions --function test.main
3
+ --throw-runtime-exceptions --function test.main
4
4
^EXIT=10$
5
5
^SIGNAL=0$
6
6
VERIFICATION FAILED
Original file line number Diff line number Diff line change 1
1
CORE
2
2
test.class
3
- --java- throw-runtime-exceptions --function test.main
3
+ --throw-runtime-exceptions --function test.main
4
4
^EXIT=10$
5
5
^SIGNAL=0$
6
6
VERIFICATION FAILED
Original file line number Diff line number Diff line change 1
1
CORE
2
2
Main.class
3
- --function Main.main --java- throw-runtime-exceptions
3
+ --function Main.main --throw-runtime-exceptions
4
4
^EXIT=10$
5
5
^SIGNAL=0$
6
6
^VERIFICATION FAILED$
Original file line number Diff line number Diff line change @@ -46,7 +46,9 @@ void java_bytecode_languaget::get_language_options(const cmdlinet &cmd)
46
46
{
47
47
assume_inputs_non_null=cmd.isset (" java-assume-inputs-non-null" );
48
48
string_refinement_enabled = !cmd.isset (" no-refine-strings" );
49
- throw_runtime_exceptions=cmd.isset (" java-throw-runtime-exceptions" );
49
+ throw_runtime_exceptions =
50
+ cmd.isset (" java-throw-runtime-exceptions" ) || // will go away
51
+ cmd.isset (" throw-runtime-exceptions" );
50
52
assert_uncaught_exceptions = !cmd.isset (" disable-uncaught-exception-check" );
51
53
throw_assertion_error = cmd.isset (" throw-assertion-error" );
52
54
threading_support = cmd.isset (" java-threading" );
Original file line number Diff line number Diff line change 31
31
" (disable-uncaught-exception-check)" \
32
32
" (throw-assertion-error)" \
33
33
" (java-assume-inputs-non-null)" \
34
- " (java-throw-runtime-exceptions)" \
34
+ " (java-throw-runtime-exceptions)" /* will go away */ \
35
+ " (throw-runtime-exceptions)" \
35
36
" (java-max-input-array-length):" /* will go away */ \
36
37
" (max-nondet-array-length):" \
37
38
" (java-max-input-tree-depth):" /* will go away */ \
52
53
" at the location of the assert statement\n " /* NOLINT(*) */ \
53
54
" --java-assume-inputs-non-null never initialize reference-typed parameter to the\n " /* NOLINT(*) */ \
54
55
" entry point with null\n " /* NOLINT(*) */ \
55
- " --java- throw-runtime-exceptions make implicit runtime exceptions explicit\n " /* NOLINT(*) */ \
56
+ " --throw-runtime-exceptions make implicit runtime exceptions explicit\n " /* NOLINT(*) */ \
56
57
" --max-nondet-array-length N limit nondet (e.g. input) array size to <= N\n " /* NOLINT(*) */ \
57
58
" --max-nondet-tree-depth N limit size of nondet (e.g. input) object tree;\n " /* NOLINT(*) */ \
58
59
" at level N references are set to null\n " /* NOLINT(*) */ \
You can’t perform that action at this time.
0 commit comments