dependency_paths exits successfully when the loader hash is unknown #211
Labels
No labels
accessibility
awaiting author
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
priority: P0
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/R0Y00--Xbox2Windows#211
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?
@raulmoracode on GitHub · 2026-11-21 18:26 UTC · original
Problem
tools/dependency_paths.pyadds the conditional FidelityFX routes only when a reachable image's SHA-256 equals the pinned loader hash:There is no
else. With any other loader build the tool produces no conditional edges, no warning and exit code 0. #132 records this as a known weakness: "With another loader the tool reports no conditional edges and still exits 0."A reader cannot tell "this loader has no conditional routes" from "this loader is a build the tool does not know". The reproduction command in
docs/experiments.mdwrites the JSON to a file, so the difference is invisible unless someone compares hashes by hand.Proposed change
When a reachable image has the loader's basename but a different hash, append a finding with
problem: "unverified_loader_hash"that carries the observed and expected SHA-256. The conditional edges stay absent, so the result is not silently widened; it is visibly incomplete.Verification path
A synthetic in-memory inventory, no game files:
ffx:0x10000reason and no finding;unverified_loader_hashfinding names both hashes.Removing the new branch makes the second case fail, which is the negative control.
Required environment
Python 3.11 or newer. No Windows, D3D12 or game files.
AI-assisted.