GPU: a method that is not implemented logs its four argument registers (port of Marvisak#1839) #677
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/677"
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 trustno1-coder/VIctory-NVIDIA. Originally posted by kibagami-nc on 2026-11-28T03:24:48Z.
What
The stub behind every slot a method table does not fill (
crates/victory-gpu/src/object.rs) logged the object kind, the slot and the caller's offset. It could not say what the call carried. To tell which console method a slot is, reporters had to patch it locally to logrcx/rdx/r8/r9: an interface GUID or a module address reads differently from flags, a count or an out pointer. That matters for slots such as the device methods0x218and0x1c8reported in #587.The stub now takes the receiver and the next three argument registers, and logs them as
args=in the same line, still once per slot:The values above only show the line's shape.
E_NOTIMPLreturn are as before.This is a port of pablogonz12's change (Marvisak/VIctory#1839, refs Marvisak/VIctory#829). It applied cleanly.
Tests
object::tests::unimplemented_calls_report_their_argument_registers(the text). Theobjecttests: 5 passed, 1 ignored (a benchmark).cargo clippy -p victory-gpu --all-targets -- -D warnings: nothing inobject.rs.main's own findings are fixed by #665.No game files, dumps or extracted data are included.
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by Dukestar69 on 2026-11-28T05:19:02Z.
Review: APPROVED
LGTM — verified on Windows:
cargo test -p victory-gpu --lib object::passed (5/5, includingunimplemented_calls_report_their_argument_registers)cargo xtask policypassed (294 files ok)Synthetic tests only (no game files used). AI-assisted (Gemini 4 Neon).