-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Start properties refactor. The goal is to refactor assertions so that each one corresponds to a property. Properties can be toggled - this allowed finer grained control over which properties TriCera checks. After the refactor is complete, it should also be clear which property an input program does not satisfy. - Added properties package. - Refactored Main to collect properties from YAML files in a more structured way. - Started refactoring of existing memsafety properties. * More work on memvalid-free. Non-heap allocated pointers now throw an error as soon as they are tried to be freed. They are no longer automatically freed - this was done for memvalid-track, but that will now be implemented in another way, so freeing non-heap pointers is no longer necessary. Also added regression tests for memvalid-free. * Adds valid-deref tests. * Properties - naming and documentation * Adds support for memcleanup property. * Adds memcleanup regression tests. * More property related improvements. - Adds CLI options for specifying properties. - Fixes valid-deref properties always being added. - Formatting of CLI help text. * Bug fixes in properties and solution printing, updates regression tests. - Fixes the regression tests based on properties, removing redundant ones. - Fixes a bug where valid-cleanup ghost variable was initialized twice. - Fixes a bug in printing contracts for void functions. - Makes printing of solutions more robust by replacing string replacement with term rewriting. * Refactor YAML parser to its own class. * Warning message when parsing fails. * Adds support for splitting properties, and many other changes. - Fixes how certain properties are checked. - It is now possible to check each property separately. - Updates regression tests. - Many other changes related to properties. * Add missing regression test. * Minor change in error output, regression tests
- Loading branch information
1 parent
db5b70b
commit 98736b7
Showing
133 changed files
with
2,310 additions
and
1,316 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
3 changes: 1 addition & 2 deletions
3
...ssion-tests/horn-hcc-heap/memtrack-04.yml → ...ion-tests/acsl-standalone/getptr_safe.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...ssion-tests/horn-hcc-heap/memtrack-05.yml → ...n-tests/acsl-standalone/getptr_unsafe.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.