Repository navigation
GPU: bound DRED breadcrumb history reads - #116
Merged
Merged
Conversation
This was referenced Nov 26, 2026
vanya890
force-pushed
the
agent/gpt6-dred-bounded-history
branch
from
November 26, 2026 15:27
e827f23 to
a1822eb
Compare
vanya890
marked this pull request as ready for review
November 26, 2026 15:31
Owner
Author
|
The rerun of the previously flaky Tests job completed successfully on the exact same head |
This was referenced Nov 26, 2026
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.
Summary
Port upstream Marvisak#3268's safe DRED breadcrumb-history reading, with additional bounds:
pCommandHistorypointer/count. Read only throughReadProcessMemorypage by page and retain a contiguous readable prefix.try_reservefor the retained prefix so diagnostic allocation failure does not panic the removal-report path.donewhen it is inside the readable prefix; otherwise reportop unknownand skip in-flight indexing.Tests cover a readable page followed by an inaccessible page with a later committed page, an inaccessible first page, the history byte cap, and address overflow.
Validation
devate2ca2aa16e95d5f954b32995da8e475b689511a7.45849307123passed Clippy with and without all features and the full workspace test matrix.victory-shader: 307 passed, 3 ignored, 0 failed.