Commit Graph

8328 Commits

Author SHA1 Message Date
Lucas Cordeiro b4ae916056 Enabled test cases in goto-instrument after fixes in the full-slice
Enabled test cases slice01, slice13, and slice16 in the goto-instrument regression
suite after fixes related to commits 27227cc and 211cb90.
2017-03-28 09:59:41 +01:00
Daniel Kroening 29af567cd7 Merge pull request #681 from peterschrammel/no-assertions-for-user-only
No-assertions should not affect assertions in built-ins
2017-03-25 09:43:38 +00:00
Daniel Kroening cf172397f5 Merge pull request #693 from owen-jones-diffblue/cleanup/java-object-factory
Cleanup/java object factory
2017-03-25 09:42:52 +00:00
Daniel Kroening 4ea27a398a Merge pull request #696 from tautschnig/user-visible-changes
Changelog
2017-03-25 09:41:47 +00:00
Michael Tautschnig 81470f46b6 Initial version of release notes for 5.7 2017-03-24 19:19:36 +00:00
Michael Tautschnig 83874c3624 Release notes up to 5.6 from CProver Google group messages 2017-03-24 19:16:52 +00:00
Daniel Kroening 7e406cd2c6 Merge pull request #682 from jgwilson42/compiling_update
Updates to compiling instructions for GCC 6
2017-03-24 17:49:12 +00:00
Daniel Kroening 96c9e6522c Merge pull request #686 from smowton/fix_multinewarray
Fix multinewarray
2017-03-24 17:48:36 +00:00
Daniel Kroening 727aea16d4 Merge pull request #694 from lucasccordeiro/fix-full-slice-03
consider array_copy expressions in the full-slice
2017-03-24 17:48:02 +00:00
Lucas Cordeiro e70aa7d261 added two test cases into goto-instrument regression for checking array_copy
added two test cases related to array copy in the goto-instrument
regression suite to further test the full-slice option
2017-03-24 16:50:12 +00:00
Lucas Cordeiro 27227ccd96 added support for array_copy in the full-slice option
Do not slice away array_copy expressions during the implicit call
in the full-slicert class. We do not process array_copy in value_set_fit.
2017-03-24 16:41:08 +00:00
Owen Jones 9a1dae0323 Remove function that's only used once
gen_nondet_init() is only used once, and is only two lines long,
so get rid of it and just put those two lines. This also avoids
confusion with java_object_factory::gen_nondet_init().
2017-03-24 15:05:50 +00:00
Owen Jones 4c4ccc0329 Remove variable that is always false
skip_classid was always false, so there wasn't any point having it.
2017-03-24 15:02:08 +00:00
Owen Jones a3f49a341b Move function comments to the right place 2017-03-24 11:19:20 +00:00
Owen Jones 2b09c0b0b4 Remove unused variable and braces 2017-03-24 11:04:21 +00:00
Peter Schrammel 85a7566aa8 Option --no-built-in-assertions
This commit changes the behahaviour of --no-assertions so that
only user assertions are ignored.
Built-in assertions can be hidden by the new option
--no-built-in-assertions.
2017-03-23 19:21:47 +00:00
Daniel Kroening 5ecb15e20d Merge pull request #671 from peterschrammel/cover-for-reachable-fun-only
Cover (and others) for reachable functions only
2017-03-23 19:12:21 +00:00
Peter Schrammel 5e5bbca1d2 Correctly align description of option 2017-03-23 18:56:05 +00:00
Peter Schrammel a35731baa6 Remove -show-reachable-properties
The same effect can now be achieved by
--show-properties --drop-unused-functions
2017-03-23 18:56:05 +00:00
Peter Schrammel e8ec160168 Add --drop-unused-functions option
The default behaviour of CBMC for the options --show-goto-functions,
--show-properties and --cover is to consider all functions. This
is particularly annoying for --cover where coverage goals are
reported from functions that are trivially unreachable from the entry point.
Also, --show-reachable-properties has been introduced in the past
to hide such properties.
We could change the default behaviour to slicing away everything
that is trivially unreachable from the entry point. However, this would
require an extra option to be able to view all functions and properties.
This commit preserves the default behaviour and enables focussing
the output of --show-goto-functions --show-properties and --cover
on functions that are not trivially unreachable using --drop-unused-functions.
2017-03-23 18:56:00 +00:00
Daniel Kroening 6550e2ce56 Merge pull request #658 from smowton/pretty_print_return
Correct pretty-printing of code_returnt
2017-03-23 14:28:02 +00:00
Chris Smowton 0a53fbbb74 Amend test-case to complete in acceptable time 2017-03-23 12:44:39 +00:00
Chris Smowton 4473f0692f Fix Java multinewarray
Simply assigning to a temporary symbol of the correct type and
amending the type passed to the elaboration of the sub-array seems
to suffice to properly initialise a multi-dimensional array.
2017-03-23 12:44:39 +00:00
Chris Smowton e843b724ec Correct pretty-printing of code_returnt 2017-03-23 11:28:49 +00:00
jgwilson42 903d243eac Updates for GCC 6 2017-03-23 10:31:24 +00:00
Daniel Kroening 2a95e59c35 Merge branch 'master' of github.com:diffblue/cbmc 2017-03-23 08:50:15 +00:00
Daniel Kroening c21d3ed442 update instructions for g++ 6 2017-03-23 08:50:03 +00:00
Daniel Kroening ff9d8335a3 Merge pull request #622 from forejtv/master
Fix several test problems on Windows
2017-03-23 08:44:53 +00:00
Peter Schrammel 32fcbbcdb9 Replace built-in checks by is_built_in 2017-03-22 21:13:58 +00:00
Peter Schrammel 72052c7eef Auxiliary function to check whether source location is in built-in 2017-03-22 21:13:54 +00:00
Daniel Kroening 230c8c5ebc Merge pull request #672 from NathanJPhillips/bugfix/alpine-linux-directory-recursion
Prevent recursion into . and .. folders on Alpine Linux
2017-03-22 14:39:35 +00:00
Nathan Phillips 57fd36c322 Prevent recursion into . and .. folders on Alpine Linux 2017-03-22 13:56:36 +00:00
Daniel Kroening 6edd2b3c58 Merge pull request #637 from NathanJPhillips/bugfix/file_util
delete_directory fails silently if it contains subfolders
2017-03-21 17:56:08 +00:00
Vojtěch Forejt d4d44db701 Merge pull request #648 from NathanJPhillips/bugfix/lint-work-across-repos
Bugfix/lint infrastructure improvements
2017-03-21 15:04:02 +00:00
Nathan Phillips 36dee831ad Check that filter_lint_by_diff.py exists 2017-03-21 14:09:44 +00:00
Nathan Phillips 6bba4ab110 Work across repos
Use the path of the containing repository of the current path, not the one the script is downloaded into
2017-03-21 14:09:26 +00:00
Nathan Phillips 5fef8411b1 Work with submodules
Made linter use paths relative to current submodule, not the lowest containing repository
2017-03-21 14:07:56 +00:00
Nathan Phillips 9cd9843d36 Comment in lint filter 2017-03-21 14:07:56 +00:00
Nathan Phillips 88816e9998 Ignore stdout, only pass errors to filter script 2017-03-21 14:05:48 +00:00
Nathan Phillips d110db0cb1 Version to work on Windows 2017-03-21 12:29:33 +00:00
Nathan Phillips b63228c675 delete_directory fails silently on subfolders 2017-03-21 10:22:21 +00:00
Vojtech Forejt 0662dd0ab9 Fix several test problems on Windows
- strip <CR> from end of lines in test.pl
- tests for test-script do not depend on gcc
- Makefile in regression/goto-analyser has the same structure as other test Makefiles
- remove tests for empty lines
2017-03-20 17:18:37 +00:00
Daniel Kroening a7663cb997 increased version number to 5.7 2017-03-19 17:18:34 +00:00
Daniel Kroening 7b8a4e651b Merge pull request #654 from danpoe/inlining-no-caching
Option to disable caching for inlining
2017-03-19 15:25:37 +00:00
Daniel Poetzl 0f0ab68e31 progress output 2017-03-19 13:32:47 +00:00
Daniel Poetzl 775bbef2ad new option --no-caching for use with inlining to disable caching of intermediate results 2017-03-19 13:32:47 +00:00
Daniel Kroening 7a8961e0d0 avoid a warning 2017-03-19 11:28:49 +00:00
Daniel Kroening f04d40a299 removed dependency on linking module 2017-03-19 11:17:09 +00:00
Daniel Kroening d03aa42d0a re-added missing inline keywords 2017-03-19 11:16:46 +00:00
Daniel Kroening f9689685ca convenient zero factories for floating point and fixed point types 2017-03-19 11:10:15 +00:00