feat: Prove overlap-safe scalar moves from original bodies #140

Open
erikinkinen wants to merge 1 commit from feature/cleanup-scalar-move-proof into feature/cleanup-scalar-memory-proofs
Owner

Prove the complete backward scalar move loop and its actual forward-copy target from the original instruction bytes. Bind both bodies to the same original ELF image, and require two already owned live stack spans before applying the bounded transfer. Overlap is allowed; slot-value equality is deliberately forgotten.

Depends on #138. Source-type validity, mapping lifetime and guest acceptance remain separate requirements.

  • Check every move instruction and the actual relative forward target.
  • Reject foreign objects, altered bodies, lost ownership and incomplete spans.
  • Release per-image lookups when graph analysis exits.
  • Pass 1,603 descriptor fixtures; the final rebase changes only roadmap wrapping.
  • Pass formatting and all 54 Markdown files.
  • Complete public CI.
Prove the complete backward scalar move loop and its actual forward-copy target from the original instruction bytes. Bind both bodies to the same original ELF image, and require two already owned live stack spans before applying the bounded transfer. Overlap is allowed; slot-value equality is deliberately forgotten. Depends on #138. Source-type validity, mapping lifetime and guest acceptance remain separate requirements. - [x] Check every move instruction and the actual relative forward target. - [x] Reject foreign objects, altered bodies, lost ownership and incomplete spans. - [x] Release per-image lookups when graph analysis exits. - [x] Pass 1,603 descriptor fixtures; the final rebase changes only roadmap wrapping. - [x] Pass formatting and all 54 Markdown files. - [ ] Complete public CI.
feat: Prove overlap-safe scalar memory moves
Some checks failed
CI / rust (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 3s
CI / rust (push) Failing after 21m10s
c2bd72ecb9
Bind the complete backward move body and its forward-copy target to one original image and decoded row occupation. Retain one closeable lookup per graph or native object through every consumer, and require existing complete source and destination spans. Forget overwritten values while keeping source/type and mapping obligations explicit; absent or retired lookup retains ordinary instruction analysis.
erikinkinen added this to the Alpha 1 milestone 2026-11-14 05:37:23 +01:00
Some checks failed
CI / rust (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 3s
CI / rust (push) Failing after 21m10s
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'feature/cleanup-scalar-move-proof:feature/cleanup-scalar-move-proof'
git switch 'feature/cleanup-scalar-move-proof'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'feature/cleanup-scalar-memory-proofs'
git merge --no-ff 'feature/cleanup-scalar-move-proof'
git switch 'feature/cleanup-scalar-move-proof'
git rebase 'feature/cleanup-scalar-memory-proofs'
git switch 'feature/cleanup-scalar-memory-proofs'
git merge --ff-only 'feature/cleanup-scalar-move-proof'
git switch 'feature/cleanup-scalar-move-proof'
git rebase 'feature/cleanup-scalar-memory-proofs'
git switch 'feature/cleanup-scalar-memory-proofs'
git merge --no-ff 'feature/cleanup-scalar-move-proof'
git switch 'feature/cleanup-scalar-memory-proofs'
git merge --squash 'feature/cleanup-scalar-move-proof'
git switch 'feature/cleanup-scalar-memory-proofs'
git merge --ff-only 'feature/cleanup-scalar-move-proof'
git switch 'feature/cleanup-scalar-memory-proofs'
git merge 'feature/cleanup-scalar-move-proof'
git push origin 'feature/cleanup-scalar-memory-proofs'
Sign in to join this conversation.
No description provided.