Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump Kani version to 0.57.0 #3777

Merged
merged 8 commits into from
Dec 16, 2024
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
57 changes: 57 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,63 @@ This file contains notable changes (e.g. breaking changes, major changes, etc.)

This file was introduced starting Kani 0.23.0, so it only contains changes from version 0.23.0 onwards.

## [0.57.0]

### Major/Breaking Changes
tautschnig marked this conversation as resolved.
Show resolved Hide resolved
* `kani-cov`: A coverage tool for Kani by @adpaco-aws in https://github.com/model-checking/kani/pull/3121
* Add a timeout option by @zhassan-aws in https://github.com/model-checking/kani/pull/3649
* Loop Contracts Annotation for While-Loop by @qinheping in https://github.com/model-checking/kani/pull/3151
* [Breaking change] Make `kani::check` private by @celinval in https://github.com/model-checking/kani/pull/3614
* Remove symtab json support by @celinval in https://github.com/model-checking/kani/pull/3695
* Remove CBMC viewer and visualize option by @zhassan-aws in https://github.com/model-checking/kani/pull/3699
* Dropping support for Ubuntu 18.04 / AL2. by @thanhnguyen-aws in https://github.com/model-checking/kani/pull/3744

### What's Changed
* Remove the overflow checks for wrapping_offset by @zhassan-aws in https://github.com/model-checking/kani/pull/3589
* Support fully-qualified --package arguments by @celinval in https://github.com/model-checking/kani/pull/3593
* Implement proper function pointer handling for validity checks by @celinval in https://github.com/model-checking/kani/pull/3606
* Add fn that checks pointers point to same allocation by @celinval in https://github.com/model-checking/kani/pull/3583
* [aeneas] Preserve variable names by @zhassan-aws in https://github.com/model-checking/kani/pull/3560
* Emit an error when proof_for_contract function is not found by @zhassan-aws in https://github.com/model-checking/kani/pull/3609
* [Lean] Rename user-facing options from Aeneas to Lean by @zhassan-aws in https://github.com/model-checking/kani/pull/3630
tautschnig marked this conversation as resolved.
Show resolved Hide resolved
* Fix ICE due to mishandling of Aggregate rvalue for raw pointers to trait objects by @carolynzech in https://github.com/model-checking/kani/pull/3636
* Fix loop contracts transformation when loops in branching by @qinheping in https://github.com/model-checking/kani/pull/3640
* Move any_slice_from_array to kani_core by @qinheping in https://github.com/model-checking/kani/pull/3646
* Implement `Arbitrary` for `Range*` by @c410-f3r in https://github.com/model-checking/kani/pull/3666
* codegen: Ask the layout if it is uninhabited, not its impl detail by @workingjubilee in https://github.com/model-checking/kani/pull/3675
* Update dependencies following Audit workflow failure. by @remi-delmas-3000 in https://github.com/model-checking/kani/pull/3680
tautschnig marked this conversation as resolved.
Show resolved Hide resolved
* Harness output individual files by @Alexander-Aghili in https://github.com/model-checking/kani/pull/3360
tautschnig marked this conversation as resolved.
Show resolved Hide resolved
* Add support for float_to_int_unchecked by @zhassan-aws in https://github.com/model-checking/kani/pull/3660
* Change `same_allocation` to accept wide pointers by @celinval in https://github.com/model-checking/kani/pull/3684
* Derive `Arbitrary` for enums with a single variant by @AlgebraicWolf in https://github.com/model-checking/kani/pull/3692
* Apply loop contracts only if there exists some usage by @qinheping in https://github.com/model-checking/kani/pull/3694
* Update verify-std-check workflow to enable loop contracts by @qinheping in https://github.com/model-checking/kani/pull/3705
tautschnig marked this conversation as resolved.
Show resolved Hide resolved
* Add support for f16 and f128 in float_to_int_unchecked intrinsic by @zhassan-aws in https://github.com/model-checking/kani/pull/3701
* Revert "Ignore derivative in Cargo deny" by @qinheping in https://github.com/model-checking/kani/pull/3712
tautschnig marked this conversation as resolved.
Show resolved Hide resolved
* Fix codegen for rvalue aggregate raw pointer to an adt with slice tail by @carolynzech in https://github.com/model-checking/kani/pull/3644
* Improve Kani handling of function markers by @celinval in https://github.com/model-checking/kani/pull/3718
* Enable contracts for const generic functions by @qinheping in https://github.com/model-checking/kani/pull/3726
* List Subcommand Improvements by @carolynzech in https://github.com/model-checking/kani/pull/3729
* add support for enum, struct, tuple in llbc backend by @thanhnguyen-aws in https://github.com/model-checking/kani/pull/3721
* Fix issues with how we compute DST size by @celinval in https://github.com/model-checking/kani/pull/3687
* Fix size and alignment computation for intrinsics by @celinval in https://github.com/model-checking/kani/pull/3734
* Cleanup a few internal compiler deps by @celinval in https://github.com/model-checking/kani/pull/3739
tautschnig marked this conversation as resolved.
Show resolved Hide resolved
* Add a Kani function that checks if the range of a float is valid for conversion to int by @zhassan-aws in https://github.com/model-checking/kani/pull/3742
* Setup/CI: cleanup Ubuntu 18.04 and cbmc-viewer left-overs and enable 24.04 by @tautschnig in https://github.com/model-checking/kani/pull/3758
tautschnig marked this conversation as resolved.
Show resolved Hide resolved
* Add out of bounds check for `offset` intrinsics by @celinval in https://github.com/model-checking/kani/pull/3755

tautschnig marked this conversation as resolved.
Show resolved Hide resolved
* Automatic upgrade of CBMC from 6.3.1 to 6.4.1
* Rust toolchain upgraded to nightly-2024-12-13 by @zhassan-aws @carolynzech @qinheping @celinval @tautschnig

tautschnig marked this conversation as resolved.
Show resolved Hide resolved
### New Contributors
* @c410-f3r made their first contribution in https://github.com/model-checking/kani/pull/3666
* @workingjubilee made their first contribution in https://github.com/model-checking/kani/pull/3675
* @Alexander-Aghili made their first contribution in https://github.com/model-checking/kani/pull/3360
* @AlgebraicWolf made their first contribution in https://github.com/model-checking/kani/pull/3692
* @thanhnguyen-aws made their first contribution in https://github.com/model-checking/kani/pull/3721
tautschnig marked this conversation as resolved.
Show resolved Hide resolved

**Full Changelog**: https://github.com/model-checking/kani/compare/kani-0.56.0...kani-0.57.0

## [0.56.0]

### Major/Breaking Changes
Expand Down
20 changes: 10 additions & 10 deletions Cargo.lock
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ dependencies = [

[[package]]
name = "build-kani"
version = "0.56.0"
version = "0.57.0"
dependencies = [
"anyhow",
"cargo_metadata",
Expand Down Expand Up @@ -400,7 +400,7 @@ dependencies = [

[[package]]
name = "cprover_bindings"
version = "0.56.0"
version = "0.57.0"
dependencies = [
"lazy_static",
"linear-map",
Expand Down Expand Up @@ -754,15 +754,15 @@ checksum = "72167d68f5fce3b8655487b8038691a3c9984ee769590f93f2a631f4ad64e4f5"

[[package]]
name = "kani"
version = "0.56.0"
version = "0.57.0"
dependencies = [
"kani_core",
"kani_macros",
]

[[package]]
name = "kani-compiler"
version = "0.56.0"
version = "0.57.0"
dependencies = [
"charon",
"clap",
Expand Down Expand Up @@ -801,7 +801,7 @@ dependencies = [

[[package]]
name = "kani-driver"
version = "0.56.0"
version = "0.57.0"
dependencies = [
"anyhow",
"cargo_metadata",
Expand Down Expand Up @@ -833,7 +833,7 @@ dependencies = [

[[package]]
name = "kani-verifier"
version = "0.56.0"
version = "0.57.0"
dependencies = [
"anyhow",
"home",
Expand All @@ -842,14 +842,14 @@ dependencies = [

[[package]]
name = "kani_core"
version = "0.56.0"
version = "0.57.0"
dependencies = [
"kani_macros",
]

[[package]]
name = "kani_macros"
version = "0.56.0"
version = "0.57.0"
dependencies = [
"proc-macro-error2",
"proc-macro2",
Expand All @@ -859,7 +859,7 @@ dependencies = [

[[package]]
name = "kani_metadata"
version = "0.56.0"
version = "0.57.0"
dependencies = [
"clap",
"cprover_bindings",
Expand Down Expand Up @@ -1599,7 +1599,7 @@ dependencies = [

[[package]]
name = "std"
version = "0.56.0"
version = "0.57.0"
dependencies = [
"kani",
]
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

[package]
name = "kani-verifier"
version = "0.56.0"
version = "0.57.0"
edition = "2021"
description = "A bit-precise model checker for Rust."
readme = "README.md"
Expand Down
2 changes: 1 addition & 1 deletion cprover_bindings/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

[package]
name = "cprover_bindings"
version = "0.56.0"
version = "0.57.0"
edition = "2021"
license = "MIT OR Apache-2.0"
publish = false
Expand Down
2 changes: 1 addition & 1 deletion kani-compiler/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

[package]
name = "kani-compiler"
version = "0.56.0"
version = "0.57.0"
edition = "2021"
license = "MIT OR Apache-2.0"
publish = false
Expand Down
2 changes: 1 addition & 1 deletion kani-driver/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

[package]
name = "kani-driver"
version = "0.56.0"
version = "0.57.0"
edition = "2021"
description = "Build a project with Kani and run all proof harnesses"
license = "MIT OR Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion kani_metadata/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

[package]
name = "kani_metadata"
version = "0.56.0"
version = "0.57.0"
edition = "2021"
license = "MIT OR Apache-2.0"
publish = false
Expand Down
2 changes: 1 addition & 1 deletion library/kani/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

[package]
name = "kani"
version = "0.56.0"
version = "0.57.0"
edition = "2021"
license = "MIT OR Apache-2.0"
publish = false
Expand Down
2 changes: 1 addition & 1 deletion library/kani_core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

[package]
name = "kani_core"
version = "0.56.0"
version = "0.57.0"
edition = "2021"
license = "MIT OR Apache-2.0"
publish = false
Expand Down
2 changes: 1 addition & 1 deletion library/kani_macros/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

[package]
name = "kani_macros"
version = "0.56.0"
version = "0.57.0"
edition = "2021"
license = "MIT OR Apache-2.0"
publish = false
Expand Down
2 changes: 1 addition & 1 deletion library/std/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# Note: this package is intentionally named std to make sure the names of
# standard library symbols are preserved
name = "std"
version = "0.56.0"
version = "0.57.0"
edition = "2021"
license = "MIT OR Apache-2.0"
publish = false
Expand Down
2 changes: 1 addition & 1 deletion tools/build-kani/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

[package]
name = "build-kani"
version = "0.56.0"
version = "0.57.0"
edition = "2021"
description = "Builds Kani, Sysroot and release bundle."
license = "MIT OR Apache-2.0"
Expand Down
Loading