[Ready to merge] Build, game: cross-toolchain delayload in hle-probe, safe SGD5 offset arithmetic #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?
Imported from Marvisak/VIctory. Originally posted by atharvmantri on 2026-11-24T13:50:43Z.
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
upstream-sync referenced this issue2026-11-24 21:02:53 +00:00
Imported from Marvisak/VIctory. Originally posted by Marvisak on 2026-11-25T06:56:35Z.
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