[Ready to merge] Build, game: cross-toolchain delayload in hle-probe, safe SGD5 offset arithmetic #903
Labels
No labels
accessibility
area: build
area: formats
area: gpu
area: loader
area: runtime
area: shader
bug
documentation
duplicate
enhancement
good first issue
gpu: amd
gpu: intel
gpu: nvidia
help wanted
host: wine
invalid
out of scope
question
request
run report
triage: confirmed
triage: has patch
triage: merge candidate
triage: needs info
triage: needs rebase
triage: needs work
triage: proposed close
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/Marvisak--VIctory#903
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@atharvmantri on GitHub · 2026-11-24 13:50 UTC · original
Summary
Cross-toolchain delayload support for hle-probe and safe arithmetic in SGD5 record parsing against malformed offsets.
Because external PR creation is currently restricted (collaborators_only), the tested, CI-clean branch is ready on my fork for review / merge:
Changes
Build ( ests/fixtures/hle-probe/build.rs):
Game (crates/victory-game/src/sgd5.rs):
ecord() offset and size computations against integer overflows on malformed inputs or truncated files (using checked_add, checked_sub, and verified slice indexing).
Verification
@Marvisak on GitHub · 2026-11-25 06:56 UTC · original
Automated triage for the maintainers.
Both changes are still open questions on
main.tests/fixtures/hle-probe/build.rsstill passes the MSVC-only/DELAYLOADanddelayimp, andrecordincrates/victory-game/src/sgd5.rsstill adds offsets unchecked. Each already has an open pull request: #1631 (GNU delay-load and a prebuilt probe DLL, see #989) and #1436 (SGD5 record bounds and offset arithmetic, see #905). Review can continue there. Your branch can be compared with them, and pull requests are open to everyone again if yours differs.Generated by Claude Code