Skip to content

Add contracts for <*const T>::read and <*mut T>::write - #2

Open
Tianshu-Huang wants to merge 4 commits into
mainfrom
ptr-read-write-contracts
Open

Tianshu-Huang wants to merge 4 commits into
mainfrom
ptr-read-write-contracts

Conversation

@Tianshu-Huang

Copy link
Copy Markdown
Owner

No description provided.

@github-actions

github-actions Bot commented Nov 10, 2026 •

Copy link
Copy Markdown

+2 harnesses verified in CI

What this means: CI now proves 2 more functions on every pull request. Which functions have a harness did not change.

Step Main
Nov 17, 2026 · e618984
This pull request
All functions
in core, alloc and std
████████████████████ 27,966 27,966
Harness written
Autoharness wrote a harness for the function. Most have not been run yet
█████████████░░░░░░░ 17,757 17,757
Verified in CI
CI ran the harness and Kani proved it
░░░░░░░░░░░░░░░░░░░░ 246 248 (+2)

Newly verified

  • ptr::const_ptr::<impl *const i32>::read
  • ptr::mut_ptr::<impl *mut i32>::write

Compared with main at Nov 17, 2026, commit e618984. If main has new merges since, run this again to compare with them.

Where the project stands and where help is needed: Autoharness status.

Counts by reason, and every function that changed

Functions autoharness can handle

Base This run Change
Harness generated 17757 17757 0
No harness: generic function 3381 3381 0
No harness: an argument type has no kani::Arbitrary 5467 5467 0
No harness: needs --bounded-arguments 1134 1134 0
No harness: other reason 227 227 0

Counts cover core, alloc and std. A generated harness is not a proof yet: CI runs only the harnesses counted below.

Harnesses verified in CI

Base This run Change
Verified 246 248 +2
Failed 0 0 0
Timed out 0 0 0

Newly verified (2)

  • ptr::const_ptr::<impl *const i32>::read: not run → Verified
  • ptr::mut_ptr::<impl *mut i32>::write: not run → Verified

Results of run 44034952658 on ubuntu-latest for commit 9ff5735, compared with run 44010574272 on main.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant