pe: cover mixed-case forwarder targets #510
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/516"
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 R0Y00/Xbox2Windows. Originally posted by VoidxNullx on 2026-11-22T08:46:18Z.
Adds a seventh forwarder,
forwarded_upper, tobundled_export_forwarders. Its target module is written in uppercase (INTAKE_PROVIDER.named_value). The test expects it to resolve to the sameintake_provider.dllhop as the lowercase forwarders. Windows treats DLL names as case-insensitive, and no existing forwarder target used uppercase.The scanner already handled this case, so this PR adds test coverage and changes no scanner code. The first commit changes
forward.def,forward_caller.cppandforwarders_check.py. The second updates the matching paragraph indocs/experiments.md.Test command and result (Windows 11, VS 2026 Build Tools, Python venv from requirements-dev.txt):
The full suite also passed: 217 tests, 0 failures, 3 capability skips (
bvh_wave64_hardware,bvh_wave64_warp,wave_shuffle_warp).Imported from R0Y00/Xbox2Windows. Originally posted by VoidxNullx on 2026-11-22T08:58:53Z.
Mutation check: removing the
.lower()on the forwarder target module intools/pe_inventory.py(themodule.lower() + ".dll"expression) makesbundled_export_forwardersfail at the newforwarded_upperassert inforwarders_check.py. Restoring the line makes it pass again. So the new case guards the case-insensitive module match, and the mutation was not committed.