Repository navigation
[AUTOMATED] Isolate advisory return-transfer decode context - #1608
Merged
Merged
Conversation
- Roll back speculative context writes after RET-chain and raw-run probes. - Preserve context propagation within each probe and normal flow decoding. - Cover unrelated real-mode return IPs with the rejected-probe and real-transfer controls.
… covers The private decode-context transaction also wraps the override-flow chain extension and the funcboundflow entry/padding checks, which share the out-of-band raw decoder with calltrampoline and callpopret. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_0179iMKQeLQDThvbHGNoGw8h
Contributor
|
[AUTOMATED] Pushed 25d6cb6 on top of your head (docs only, +3/-1 in |
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_0179iMKQeLQDThvbHGNoGw8h
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
[AUTOMATED]
Problem
Probing a rejected far jump changes how an unrelated x86 real-mode near call is decoded. Its pushed return IP changes from
0x8893to0x0103.On unpatched main, apply only this PR's public regression test, leaving the decoder unchanged:
The test constructs the image from bytes:
ea 00 01 79 18at0x100, ande8 0d 00 c3at0x18890. Before the fix:Fix
Tests
The regression preserves
0x8893after both rejected probes, while a real far-transfer decode still changes it to0x0103. All 23 raw-image/RET-chain tests pass. The 146-binary corpus comparison found no output changes across 28,850 functions.