Repository navigation
Conversation
Resident Evil 6 schedules instructions between its unsigned guard and dispatch. Follow the reaching definitions and prove the table and destinations stay in bounds. Check merged worker results for incoming edges that would skip the setup.
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.
What and why
Resident Evil 6 2.0.0 hits
AssertionError: jump table 7a352cbecause instruction scheduling puts its unsigned guard beyond the older recognizers' lookback. Add a fallback that follows the register and flag definitions, checks the read-only table and the destinations within the unwind range, and checks merged worker results for incoming branches that would bypass the setup. The resolver matches the instruction sequence and uses no per-build addresses. See the rewriter reference.This change can merge independently and is required to prepare Resident Evil 6.
Checked
test_jump_copiesandtest_docs, 62 passed. Worker, Windows worker, tail-call and exclusive-window tests reported 31 passed and one platform skip.main+0x7a352cand the rewrite completed.main(no new system-driver or Turnip runs).Docs
main.