Skip to content

Commit bdf222e

Browse files
author
owen-jones-diffblue
authored
Cbmc merge 2018-07-12 (diffblue#499)
* Squashed 'cbmc/' changes from 6409eae..2af8433 2af8433 Merge pull request diffblue#2566 from tautschnig/vs-sparse-array de65ec6 Merge pull request diffblue#2541 from tautschnig/vs-string-static 7c4b5aa Merge pull request diffblue#2568 from tautschnig/vs-parameter-names ef3eb4f Merge pull request diffblue#2567 from peterschrammel/fix-mcdc 53baae6 Merge pull request diffblue#2460 from tautschnig/vs-local-unused 6acabcb Merge pull request diffblue#2563 from tautschnig/vs-rm-interface 3c2e55e Merge pull request diffblue#2426 from peterschrammel/java-models-library-submodule 440ceb6 Document proposed best practice for unused parameters 370d4c6 Convert /* */ comments into // 1abbf1e Clean up commented code b34e951 Use submodule to download java-models-library 3f255b2 Merge pull request diffblue#2388 from peterschrammel/improve-jbmc-options 15f44c7 Revert "Mark tests which fail due to invariant violations" dce4afd Make local-assigned-but-not-used annotation applicable to all compilers 86d057d (interval_)sparse_arrayt: Remove unnecessary use of "virtual" and further cleanup 0d7a943 Merge pull request diffblue#2558 from tautschnig/linking-xen 5acc0b0 Merge pull request diffblue#2392 from NathanJPhillips/cleanup/small_map_layout ee4d802 Merge pull request diffblue#2565 from tautschnig/vs-float-bvt 754b36d Accept more mismatching function definition/declaration pairs d1a4169 Merge pull request diffblue#2542 from tautschnig/vs-string-refinement b2cd358 Cleanup of float_bvt 0a39f40 Remove unused interface c749b8f Merge pull request diffblue#2429 from tautschnig/vs-endian 0a10bf3 Drop java prefix from throw-runtime-exceptions option 548baea Improve naming of command line options 39bc7ea Make --lazy-methods and --refine-strings default eb9e3bb Merge pull request diffblue#2561 from Degiorgio/get-current-thread-id-fix d98a39b Merge pull request diffblue#2556 from peterschrammel/run-string-smoke-tests 34404f0 Set little_endian in the same way that boolbv_byte_extract already does 4a8dc96 JBMC: removed camel-casing from function identifiers 9059be7 JBMC: CProver.getCurrentThreadID:()I conversion fix d393d1c Merge pull request diffblue#2435 from tautschnig/vs-ranged-for be7159a Merge pull request diffblue#2425 from tautschnig/vs-virtual 44cc033 Change index variable name, simplify code 0c9658f Add missing virtual destructor c6f9231 Merge pull request diffblue#2553 from tautschnig/always-inline-partial-revert fa94bc0 Merge pull request diffblue#2531 from tautschnig/debian4 41863e7 Merge pull request diffblue#2539 from tautschnig/vs-unsigned-constant f1afbff Remove unnecessary PLATFORM_DIRS 0c75b47 Run strings-smoke-tests and janalyzer tests 0acae08 Merge pull request diffblue#2535 from tautschnig/debian7 35ddf0b Merge pull request diffblue#2533 from tautschnig/debian5 580f539 Merge pull request diffblue#2534 from tautschnig/debian6 b73a9e3 Merge pull request diffblue#2420 from tautschnig/vs-invariant 9b087dc Merge pull request diffblue#2550 from tautschnig/vs-return dc35270 Merge pull request diffblue#2547 from tautschnig/vs-dummy-init ff88c16 Merge pull request diffblue#2554 from tautschnig/ld-options 3209628 Merge pull request diffblue#2450 from tautschnig/c++-name-resolution 61a6acd Name resolution may require further template instantiation 0f15d47 goto-ld: accept (but do not process) further ld options 4c6cfc0 Merge pull request diffblue#2448 from tautschnig/c++-delayed-body c46d46d Merge pull request diffblue#2439 from tautschnig/vs-pointer 7e4dd05 Merge pull request diffblue#2440 from tautschnig/vs-list 1f237ff Merge pull request diffblue#2464 from tautschnig/vs-unused1 7be54b8 Merge pull request diffblue#2544 from tautschnig/vs-value-set 7f373c8 Merge pull request diffblue#2549 from tautschnig/vs-unsigned-option b17fefa Merge pull request diffblue#2540 from tautschnig/vs-explicit-cast 425db26 Merge pull request diffblue#2530 from tautschnig/debian3 2598141 Mark integer constants as unsigned when lhs is unsigned 0da9766 Merge pull request diffblue#2538 from tautschnig/vs-use-to_ulong e501317 Additional regression tests for always_inline 17a50c5 Revert "Apply symbol replacement in type_arg members" 016ad92 Revert "Fully interpret __attribute__((always_inline))" ee9444f Merge pull request diffblue#2532 from tautschnig/debian2 c8725cb Merge pull request diffblue#2536 from tautschnig/debian8 d6565ec Merge pull request diffblue#2537 from tautschnig/vs-non-deprecated 16e6a99 Use type-consistent unsigned value for unreachable return statement a746a2c Extract unsigned value from options 681ec22 Add dummy initialisation to avoid Visual Studio warning c789088 Remove unused parameter from value_set_fivrt::flatten_rec 4d8aa45 Use std::string(N, ' ') instead of static locals 18faa5a String refinement: remove unused parameters 96a7014 Explicit type cast to avoid signed/unsigned warning 2aa6a2f Use non-deprecated to_integer(constant_expr) 13f83d5 Use to_ulong instead of the deprecated integer2ulong 26803f7 Test only works with simplification enabled be5f2ff Use architecture-specific compiler flags to configure bit width during preprocessing 60ad26c kfreebsd also uses ELF, and hybrid binaries are thus supported c6c1938 utf8 to utf16 conversion must use native endianness bc7a527 Fix copy&paste error in C library cd6127a Regression test should succeed even if char is an unsigned type dab6a6e Fix tests that are only correct on little-endian architectures 8187bdd Merge pull request diffblue#2526 from jeannielynnmoulton/jeannie/AnonymousInnerClasses af0ce5a Captures anonymous inner class information. d20a12e Merge pull request diffblue#2517 from jeannielynnmoulton/jeannie/InnerStaticClasses fe73955 Captures information for static inner classes. 4193f02 Remove unused parameters message_handler, ns 02e3840 Fix delayed method body conversion for templates d0c2a49 Remove unused parameter from list_calls_and_arguments 0e9aa90 Remove unused and inconsistent pointer_object_has_type 497d296 Fix invariant: value must be strictly positive 3aa9b72 Add comment explaining unusual layout git-subtree-dir: cbmc git-subtree-split: 2af8433 * Add .gitmodules with details of java-models-library * Small changes to jbmc command line arguments * Add --no-refine-strings to cmdline, always set
1 parent 0c1973c commit bdf222e

File tree

232 files changed

+1286
-828
lines changed

Some content is hidden

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

232 files changed

+1286
-828
lines changed

.gitmodules

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "cbmc/jbmc/lib/java-models-library"]
2+
path = cbmc/jbmc/lib/java-models-library
3+
url = https://github.com/diffblue/java-models-library.git

cbmc/.gitmodules

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "jbmc/lib/java-models-library"]
2+
path = jbmc/lib/java-models-library
3+
url = https://github.com/diffblue/java-models-library.git

cbmc/.travis.yml

+6-2
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,7 @@ jobs:
229229
- ccache -z
230230
- ccache --max-size=1G
231231
- cmake -H. -Bbuild '-DCMAKE_BUILD_TYPE=Release' '-DCMAKE_CXX_COMPILER=/usr/bin/g++-5'
232+
- git submodule update --init --recursive
232233
- cmake --build build -- -j4
233234
script: (cd build; ctest -V -L CORE -j2)
234235

@@ -254,6 +255,7 @@ jobs:
254255
- ccache -z
255256
- ccache --max-size=1G
256257
- cmake -H. -Bbuild '-DCMAKE_BUILD_TYPE=Release' '-DCMAKE_CXX_COMPILER=/usr/bin/g++-7'
258+
- git submodule update --init --recursive
257259
- cmake --build build -- -j4
258260
script: (cd build; ctest -V -L CORE -j2)
259261

@@ -287,6 +289,7 @@ jobs:
287289
- ccache -z
288290
- ccache --max-size=1G
289291
- cmake -H. -Bbuild '-DCMAKE_BUILD_TYPE=Release' '-DCMAKE_CXX_COMPILER=/usr/bin/clang++-6.0' '-DCMAKE_CXX_FLAGS=-Qunused-arguments'
292+
- git submodule update --init --recursive
290293
- cmake --build build -- -j4
291294
script: (cd build; ctest -V -L CORE -j2)
292295

@@ -305,6 +308,7 @@ jobs:
305308
- ccache -z
306309
- ccache --max-size=1G
307310
- cmake -H. -Bbuild '-DCMAKE_BUILD_TYPE=Release' '-DCMAKE_OSX_ARCHITECTURES=x86_64'
311+
- git submodule update --init --recursive
308312
- cmake --build build -- -j4
309313
script: (cd build; ctest -V -L CORE -j2)
310314

@@ -328,7 +332,7 @@ jobs:
328332
name: "diffblue/cbmc"
329333
description: "Travis build of ${TRAVIS_COMMIT}"
330334
notification_email: "[email protected]"
331-
build_command_prepend: "make -C jbmc/src java-models-library-download"
335+
build_command_prepend: "make -C jbmc/src setup-submodules"
332336
build_command_prepend: "make -C src minisat2-download"
333337
build_command: "make -C src -j2; make -C jbmc/src -j2"
334338
branch_pattern: "develop"
@@ -349,7 +353,7 @@ jobs:
349353
install:
350354
- ccache -z
351355
- ccache --max-size=1G
352-
- make -C jbmc/src java-models-library-download
356+
- make -C jbmc/src setup-submodules
353357
- make -C src minisat2-download
354358
- make -C src boost-download
355359
- make -C src/ansi-c library_check

cbmc/CMakeLists.txt

+1
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ set_target_properties(
8484
xml
8585

8686
java_bytecode
87+
java-models-library
8788
jbmc
8889
jbmc-lib
8990
janalyzer

cbmc/CODING_STANDARD.md

+3
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,9 @@ Formatting is enforced using clang-format. For more information about this, see
9595
# Naming
9696
- Identifiers may use the characters `[a-z0-9_]` and should start with a
9797
lower-case letter (parameters in constructors may start with `_`).
98+
- Omit names of parameters or exception objects when they are not used. If
99+
parameter names help documenting an interface, keep the name and use
100+
`(void)parameter_name;` in the body of the method.
98101
- Use American spelling for identifiers.
99102
- Separate basic words by `_`
100103
- Avoid abbreviations (e.g. prefer `symbol_table` to `st`).

cbmc/appveyor.yml

+1-5
Original file line numberDiff line numberDiff line change
@@ -42,17 +42,13 @@ install:
4242
& 7z x minisat2_2.2.1.orig.tar.gz
4343
&7z x minisat2_2.2.1.orig.tar
4444
}
45-
if (!(Test-Path java-models-library-master\.gitignore)) {
46-
& appveyor downloadfile https://github.com/diffblue/java-models-library/archive/master.zip -FileName jml.zip
47-
& 7z x jml.zip
48-
}
4945
cd ..
5046
5147
cache: deps
5248

5349
build_script:
5450
- cmd: |
55-
cp -r deps/java-models-library-master/src jbmc/src/java_bytecode/library
51+
make -C jbmc/src setup-submodules
5652
cp -r deps/minisat2-2.2.1 minisat-2.2.1
5753
patch -d minisat-2.2.1 -p1 < scripts/minisat-2.2.1-patch
5854
call "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\vcvarsall.bat" x64

cbmc/buildspec-windows.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ phases:
1919
2020
- |
2121
$env:Path = "C:\tools\cygwin\bin;$env:Path"
22-
cmd /c 'call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x64 && bash -c "make -j4 -C jbmc/src BUILD_ENV=MSVC" '
22+
cmd /c 'call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x64 && bash -c "make -j4 -C jbmc/src setup-submodules" && bash -c "make -j4 -C jbmc/src BUILD_ENV=MSVC" '
2323
cmd /c 'call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x64 && bash -c "make -j4 -C jbmc/unit all BUILD_ENV=MSVC ; exit 0" '
2424
2525
post_build:

cbmc/buildspec.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ phases:
1515
commands:
1616
- echo Build started on `date`
1717
- make -C src minisat2-download
18-
- make -C jbmc/src java-models-library-download
18+
- make -C jbmc/src setup-submodules
1919
- make -C src CXX="ccache g++" -j2
2020
- make -C unit CXX="ccache g++" -j2
2121
- make -C jbmc/src CXX="ccache g++" -j2

cbmc/jbmc/CMakeLists.txt

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
11
add_subdirectory(regression)
22
add_subdirectory(src)
33
add_subdirectory(unit)
4+
5+
add_custom_target(java-models-library ALL
6+
COMMAND mvn package
7+
COMMAND cp target/core-models.jar ${CMAKE_CURRENT_SOURCE_DIR}/src/java_bytecode/library/
8+
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/lib/java-models-library
9+
)

cbmc/jbmc/lib/java-models-library

Submodule java-models-library added at 6b422b1

cbmc/jbmc/regression/Makefile

+6-11
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,27 @@
11
# For the best possible utilisation of multiple cores when
22
# running tests in parallel, it is important that these directories are
33
# listed with decreasing runtimes (i.e. longest running at the top)
4-
DIRS = janalzyer-taint \
4+
DIRS = janalyzer-taint \
55
jbmc \
66
jbmc-concurrency \
77
jbmc-cover \
88
jbmc-inheritance \
99
jbmc-strings \
1010
jdiff \
11-
string-smoke-tests \
11+
strings-smoke-tests \
1212
jbmc-generics \
1313
# Empty last line
1414

15-
# Tests under goto-gcc cannot be run on Windows, so appveyor.yml unlinks
16-
# the entire directory under Windows. This variable will contain the list
17-
# of directories that actually exist on the current platform.
18-
PLATFORM_DIRS = $(wildcard $(DIRS))
19-
2015
# Run all test directories in sequence
2116
.PHONY: test
2217
test:
23-
@for dir in $(PLATFORM_DIRS); do \
18+
@for dir in $(DIRS); do \
2419
$(MAKE) "$$dir" || exit 1; \
2520
done;
2621

2722
# Pattern to execute a single test suite directory
28-
.PHONY: $(PLATFORM_DIRS)
29-
$(PLATFORM_DIRS):
23+
.PHONY: $(DIRS)
24+
$(DIRS):
3025
@echo "Running $@..." ;
3126
$(MAKE) -C "$@" test || exit 1;
3227

@@ -42,7 +37,7 @@ test-parallel:
4237
--linebuffer \
4338
--jobs $(JOBS) \
4439
$(MAKE) "{}" \
45-
::: $(PLATFORM_DIRS)
40+
::: $(DIRS)
4641

4742

4843
.PHONY: clean
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` --lazy-methods
44
^EXIT=0$
55
^SIGNAL=0$
66
^VERIFICATION SUCCESSFUL
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
CORE
22
TestClass.class
3-
--function TestClass.testFunction --classpath ../../../src/java_bytecode/library/core-models.jar:.
3+
--function TestClass.testFunction --classpath `../../../../scripts/format_classpath.sh . ../../../src/java_bytecode/library/core-models.jar`
44
EXIT=0
55
SIGNAL=0
66
VERIFICATION SUCCESSFUL

cbmc/jbmc/regression/jbmc-strings/StringEquals/test_verify.desc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
KNOWNBUG
22
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
44
^EXIT=0$
55
^SIGNAL=0$
66
assertion at file Test.java line 60 .* SUCCESS

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

+1-1
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$

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

+1-1
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%\)

cbmc/jbmc/regression/jbmc/ArithmeticException1/test.desc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
CORE
22
ArithmeticExceptionTest.class
3-
--java-throw-runtime-exceptions
3+
--throw-runtime-exceptions
44
^EXIT=10$
55
^SIGNAL=0$
66
^.*assertion at file ArithmeticExceptionTest.java line 8 function.*: FAILURE$

cbmc/jbmc/regression/jbmc/ArithmeticException2/test.desc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
CORE
22
ArithmeticExceptionTest.class
3-
--java-throw-runtime-exceptions
3+
--throw-runtime-exceptions
44
^EXIT=10$
55
^SIGNAL=0$
66
^.*assertion at file ArithmeticExceptionTest.java line 9 function.*: FAILURE$

cbmc/jbmc/regression/jbmc/ArithmeticException3/test.desc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
CORE
22
ArithmeticExceptionTest.class
3-
--java-throw-runtime-exceptions
3+
--throw-runtime-exceptions
44
^EXIT=10$
55
^SIGNAL=0$
66
^.*assertion at file ArithmeticExceptionTest.java line 8 function.*: FAILURE$

cbmc/jbmc/regression/jbmc/ArithmeticException4/test.desc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
CORE
22
ArithmeticExceptionTest.class
3-
--java-throw-runtime-exceptions
3+
--throw-runtime-exceptions
44
^EXIT=10$
55
^SIGNAL=0$
66
^.*assertion at file ArithmeticExceptionTest.java line 9 function.*: FAILURE$

cbmc/jbmc/regression/jbmc/ArithmeticException5/test.desc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
CORE
22
ArithmeticExceptionTest.class
3-
--java-throw-runtime-exceptions
3+
--throw-runtime-exceptions
44
^EXIT=0$
55
^SIGNAL=0$
66
^VERIFICATION SUCCESSFUL

cbmc/jbmc/regression/jbmc/ArithmeticException6/test.desc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
CORE
22
ArithmeticExceptionTest.class
3-
--java-throw-runtime-exceptions --function ArithmeticExceptionTest.main
3+
--throw-runtime-exceptions --function ArithmeticExceptionTest.main
44
^EXIT=10$
55
^SIGNAL=0$
66
^.*assertion at file ArithmeticExceptionTest.java line 7 function.*: FAILURE$

cbmc/jbmc/regression/jbmc/ArithmeticException7/test.desc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
CORE
22
ArithmeticExceptionTest.class
3-
--java-throw-runtime-exceptions
3+
--throw-runtime-exceptions
44
^EXIT=10$
55
^SIGNAL=0$
66
^.*assertion at file ArithmeticExceptionTest.java line 8 function.*: FAILURE$

cbmc/jbmc/regression/jbmc/ArrayIndexOutOfBoundsException1/test.desc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
CORE
22
ArrayIndexOutOfBoundsExceptionTest.class
3-
--java-throw-runtime-exceptions
3+
--throw-runtime-exceptions
44
^EXIT=10$
55
^SIGNAL=0$
66
^.*assertion at file ArrayIndexOutOfBoundsExceptionTest.java line 8 function.*: FAILURE$

cbmc/jbmc/regression/jbmc/ArrayIndexOutOfBoundsException2/test.desc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
CORE
22
ArrayIndexOutOfBoundsExceptionTest.class
3-
--java-throw-runtime-exceptions
3+
--throw-runtime-exceptions
44
^EXIT=10$
55
^SIGNAL=0$
66
^.*assertion at file ArrayIndexOutOfBoundsExceptionTest.java line 8 function.*: FAILURE$

cbmc/jbmc/regression/jbmc/ArrayIndexOutOfBoundsException3/test.desc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
CORE
22
ArrayIndexOutOfBoundsExceptionTest.class
3-
--java-throw-runtime-exceptions
3+
--throw-runtime-exceptions
44
^EXIT=10$
55
^SIGNAL=0$
66
^.*assertion at file ArrayIndexOutOfBoundsExceptionTest.java line 8 function.*: FAILURE$

cbmc/jbmc/regression/jbmc/ClassCastException1/test.desc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
CORE
22
ClassCastExceptionTest.class
3-
--java-throw-runtime-exceptions
3+
--throw-runtime-exceptions
44
^EXIT=10$
55
^SIGNAL=0$
66
^.*assertion at file ClassCastExceptionTest.java line 8 function.*: FAILURE$

cbmc/jbmc/regression/jbmc/ClassCastException2/test.desc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
CORE
22
ClassCastExceptionTest.class
3-
--java-throw-runtime-exceptions
3+
--throw-runtime-exceptions
44
^EXIT=0$
55
^SIGNAL=0$
66
^VERIFICATION SUCCESSFUL$

cbmc/jbmc/regression/jbmc/ClassCastException3/test.desc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
CORE
22
ClassCastExceptionTest.class
3-
--java-throw-runtime-exceptions
3+
--throw-runtime-exceptions
44
^EXIT=10$
55
^SIGNAL=0$
66
^.*assertion at file ClassCastExceptionTest.java line 12 function.*: FAILURE$

cbmc/jbmc/regression/jbmc/NegativeArraySizeException1/test.desc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
CORE
22
NegativeArraySizeExceptionTest.class
3-
--java-throw-runtime-exceptions
3+
--throw-runtime-exceptions
44
^EXIT=10$
55
^SIGNAL=0$
66
^.*assertion at file NegativeArraySizeExceptionTest.java line 7 function.*: FAILURE$

cbmc/jbmc/regression/jbmc/NegativeArraySizeException2/test.desc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
CORE
22
NegativeArraySizeExceptionTest.class
3-
--java-throw-runtime-exceptions
3+
--throw-runtime-exceptions
44
^EXIT=10$
55
^SIGNAL=0$
66
^.*assertion at file NegativeArraySizeExceptionTest.java line 7 function.*: FAILURE$

cbmc/jbmc/regression/jbmc/NullPointerException2/test.desc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
CORE
22
Test.class
3-
--java-throw-runtime-exceptions
3+
--throw-runtime-exceptions
44
^EXIT=10$
55
^SIGNAL=0$
66
^.*assertion at file Test.java line 14 function.*: FAILURE$

cbmc/jbmc/regression/jbmc/NullPointerException3/test.desc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
CORE
22
Test.class
3-
--java-throw-runtime-exceptions
3+
--throw-runtime-exceptions
44
^EXIT=10$
55
^SIGNAL=0$
66
^.*assertion at file Test.java line 14 function.*: FAILURE$

cbmc/jbmc/regression/jbmc/NullPointerException4/test.desc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
CORE
22
Test.class
3-
--java-throw-runtime-exceptions
3+
--throw-runtime-exceptions
44
^EXIT=10$
55
^SIGNAL=0$
66
^.*assertion at file Test.java line 12 function.*: FAILURE$

cbmc/jbmc/regression/jbmc/annotations1/show_annotation_symbol.desc

+1-1
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

cbmc/jbmc/regression/jbmc/cast_null2/test.desc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
CORE
22
test.class
3-
--java-throw-runtime-exceptions --function test.main
3+
--throw-runtime-exceptions --function test.main
44
^EXIT=0$
55
^SIGNAL=0$
66
^VERIFICATION SUCCESSFUL$

cbmc/jbmc/regression/jbmc/coreModels/test.desc

+1-1
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$

cbmc/jbmc/regression/jbmc/exceptions21/test.desc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
CORE
22
test.class
3-
--function test.f --java-throw-runtime-exceptions
3+
--function test.f --throw-runtime-exceptions
44
^EXIT=0$
55
^SIGNAL=0$
66
VERIFICATION SUCCESSFUL

cbmc/jbmc/regression/jbmc/exceptions23/test.desc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
CORE
22
test.class
3-
--java-throw-runtime-exceptions --function test.main
3+
--throw-runtime-exceptions --function test.main
44
^EXIT=10$
55
^SIGNAL=0$
66
VERIFICATION FAILED

0 commit comments

Comments
 (0)