WIP: Check stack write bounds for saved registers #49

Draft
erikinkinen wants to merge 3 commits from feature/saved-register-stack-write-bounds into feature/protected-native-call-graphs
Owner

Track equality with original incoming registers through byte-checked copies
and live stack slots. Invalidate partial or unknown aliases, retire slots on
deallocation, and require separately grounded callee write bounds before saves
survive calls. Translate bounds with checked arithmetic and retain every earlier
premise. No entry token, ABI convention or stored pointer creates target authority.

Depends on #48 (feature/protected-native-call-graphs).

  • Separate this feature from the preceding changes.
  • Link matching provider PRs and complete integrated acceptance.

Cross-repository API dependencies are still being mapped to their feature PRs.

Track equality with original incoming registers through byte-checked copies and live stack slots. Invalidate partial or unknown aliases, retire slots on deallocation, and require separately grounded callee write bounds before saves survive calls. Translate bounds with checked arithmetic and retain every earlier premise. No entry token, ABI convention or stored pointer creates target authority. Depends on #48 (`feature/protected-native-call-graphs`). - [x] Separate this feature from the preceding changes. - [ ] Link matching provider PRs and complete integrated acceptance. Cross-repository API dependencies are still being mapped to their feature PRs.
erikinkinen added this to the Alpha 1 milestone 2026-10-30 15:32:07 +01:00
feat: Check stack write bounds for saved registers
Some checks failed
CI / rust (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 6s
CI / rust (push) Failing after 47s
6a904817a6
Track equality with original incoming registers through byte-checked copies
and live stack slots. Invalidate partial or unknown aliases, retire slots on
deallocation, and require separately grounded callee write bounds before saves
survive calls. Translate bounds with checked arithmetic and retain every earlier
premise. No entry token, ABI convention or stored pointer creates target authority.
ci: Use shared development dependency profiles
Some checks failed
CI / rust (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / rust (push) Failing after 31s
CI / markdown (push) Successful in 14s
bd3af7b3e4
Keep authored manifests on main and select coordinated providers through Integration. Resolve branches once per run, retain the frozen snapshot and helper identity as artifacts, and use shared source checks instead of copied tests and guides.
ci: Declare policy helper and output boundaries
Some checks failed
CI / rust (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 7s
CI / rust (push) Failing after 9m42s
31eccd5485
Select a disjoint operation parent for policy evidence and explicitly identify the helper checkout excluded from original component input. Keep the complete dependency policy and existing acceptance commands.
Some checks failed
CI / rust (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 7s
CI / rust (push) Failing after 9m42s
This pull request is marked as a work in progress.
This branch is out-of-date with the base branch
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'feature/saved-register-stack-write-bounds:feature/saved-register-stack-write-bounds'
git switch 'feature/saved-register-stack-write-bounds'

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/protected-native-call-graphs'
git merge --no-ff 'feature/saved-register-stack-write-bounds'
git switch 'feature/saved-register-stack-write-bounds'
git rebase 'feature/protected-native-call-graphs'
git switch 'feature/protected-native-call-graphs'
git merge --ff-only 'feature/saved-register-stack-write-bounds'
git switch 'feature/saved-register-stack-write-bounds'
git rebase 'feature/protected-native-call-graphs'
git switch 'feature/protected-native-call-graphs'
git merge --no-ff 'feature/saved-register-stack-write-bounds'
git switch 'feature/protected-native-call-graphs'
git merge --squash 'feature/saved-register-stack-write-bounds'
git switch 'feature/protected-native-call-graphs'
git merge --ff-only 'feature/saved-register-stack-write-bounds'
git switch 'feature/protected-native-call-graphs'
git merge 'feature/saved-register-stack-write-bounds'
git push origin 'feature/protected-native-call-graphs'
Sign in to join this conversation.
No description provided.