Repository navigation
Runtime: trace failed dynamic export lookups during boot - #8859
Open
gabrielsteglich wants to merge 1 commit into
Open
gabrielsteglich wants to merge 1 commit into
gabrielsteglich wants to merge 1 commit into
Conversation
Contributor
|
Verified head
AI-assisted. |
This was referenced Nov 23, 2026
|
AI-assisted independent validation (Claude Code), native Windows, CPU only, no game files. Tested PR head
|
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
A guest can resolve exports with GetProcAddress after static imports have been processed. If a runtime shim or mapped guest module lacks the requested export, stderr can show the miss while the structured boot report has no matching entry. This adds a get_proc_address_failed event with the target module, export name or ordinal, and mapped caller when available. The event is emitted only with startup tracing enabled, deduplicated, and capped at 256 distinct misses per process. The report displays dynamic lookup misses separately from unimplemented static imports. GetProcAddress still returns NULL with ERROR_PROC_NOT_FOUND in these cases.
Claim in #8683. Related to #8271 (mapped D3D12 trace attribution) and #6582 (XErrorReport implementation).
Validation
Windows 11, MSVC 19.44, Windows SDK 10.0.26100. Tested de3d5cc against main 867d922.
AI-assisted implementation and tests with Codex. Validation used synthetic fixtures.