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 #3688

Closed
Show file tree
Hide file tree
Changes from all 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
37 changes: 37 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,43 @@ 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 Changes
* `kani-cov`: A coverage tool for Kani by @adpaco-aws in https://github.com/model-checking/kani/pull/3121 https://github.com/model-checking/kani/pull/3641

### Breaking Changes
* [Breaking change] Make `kani::check` private by @celinval in https://github.com/model-checking/kani/pull/3614

### 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
* Loop Contracts Annotation for While-Loop by @qinheping in https://github.com/model-checking/kani/pull/3151
* Implement proper function pointer handling for validity checks by @celinval in https://github.com/model-checking/kani/pull/3606
* [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
* Add `free(0)` to codegen of loop contracts by @qinheping in https://github.com/model-checking/kani/pull/3637
* [Lean] Rename user-facing options from Aeneas to Lean by @zhassan-aws in https://github.com/model-checking/kani/pull/3630
* 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
* Call `goto-instrument` with `DFCC` only once by @qinheping in https://github.com/model-checking/kani/pull/3642
* Fix loop contracts transformation when loops in branching by @qinheping in https://github.com/model-checking/kani/pull/3640
* Reduce the number of object bits for refcell test by @zhassan-aws in https://github.com/model-checking/kani/pull/3656
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is an update to a regression test, so should not be included.

* Move any_slice_from_array to kani_core by @qinheping in https://github.com/model-checking/kani/pull/3646
* Add a timeout option by @zhassan-aws in https://github.com/model-checking/kani/pull/3649
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would add this as a major change.

* Implement `Arbitrary` for `Range*` by @c410-f3r in https://github.com/model-checking/kani/pull/3666
* Automatic toolchain upgrade to nightly-2024-11-03 by @github-actions in https://github.com/model-checking/kani/pull/3674
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Move this to the end of the list and change it to:

Rust toolchain upgraded to nightly-2024-11-03 by

and list the contributors excluding github-actions (and remove the PR).

* codegen: Ask the layout if it is uninhabited, not its impl detail by @workingjubilee in https://github.com/model-checking/kani/pull/3675
* Harness output individual files by @Alexander-Aghili in https://github.com/model-checking/kani/pull/3360
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would also include this as a major change.

* Update Charon submodule to 2024-11-04 by @zhassan-aws in https://github.com/model-checking/kani/pull/3686
* Add support for float_to_int_unchecked by @zhassan-aws in https://github.com/model-checking/kani/pull/3660

## New Contributors
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't list 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

**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 @@ -177,7 +177,7 @@ dependencies = [

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

[[package]]
name = "cprover_bindings"
version = "0.56.0"
version = "0.57.0"
dependencies = [
"lazy_static",
"linear-map",
Expand Down Expand Up @@ -769,15 +769,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 @@ -816,7 +816,7 @@ dependencies = [

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

[[package]]
name = "kani-verifier"
version = "0.56.0"
version = "0.57.0"
dependencies = [
"anyhow",
"home",
Expand All @@ -856,14 +856,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 @@ -873,7 +873,7 @@ dependencies = [

[[package]]
name = "kani_metadata"
version = "0.56.0"
version = "0.57.0"
dependencies = [
"clap",
"cprover_bindings",
Expand Down Expand Up @@ -1614,7 +1614,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