Skip to content

Challenge 2: Kani contracts for raw-pointer core::intrinsics - #643

Open
sankalpsthakur wants to merge 5 commits into
model-checking:mainfrom
sankalpsthakur:challenge/02-intrinsics
Open

Challenge 2: Kani contracts for raw-pointer core::intrinsics#643
sankalpsthakur wants to merge 5 commits into
model-checking:mainfrom
sankalpsthakur:challenge/02-intrinsics

Conversation

@sankalpsthakur

Copy link
Copy Markdown

Summary

Kani safety contracts and proof harnesses for this challenge. Runtime stdlib logic is unchanged; annotations are cfg(kani) / contract attributes.

Full-table attempt. Wrappers around rustc_intrinsic decls (kani#3325).

Validation

  • Local worktree on challenge/02-intrinsics
  • Kani CI on this PR is the authoritative run (scripts/run-kani.sh)

Fixes #16

AI/LLM disclosure

  • AI coding tools (including Grok and/or Codex agent-assisted editing) were used to help draft or modify code and this PR description.
  • I reviewed the complete change, understand the reasoning, and take responsibility for the contracts and harnesses.
  • This submission is original work of authorship under the project contributor terms; AI output was not pasted unreviewed.

@sankalpsthakur
sankalpsthakur requested a review from a team as a code owner August 20, 2026 12:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Challenge 2: Verify the memory safery of core intrinsics using raw pointers

1 participant