mirror of
https://github.com/ProjectLeonida/mandy.git
synced 2026-12-06 23:18:37 +00:00
pe_loader: resolve() and resolve_forwarder() key the DLL name with dll_key() — lower-case, trailing '.' dropped, ".dll" added when there is no extension — the file-name rule LoadLibrary applies. Without it an import naming "GameInput" or "gameinput.dll." missed the shim and owns_dll lookups while LoadLibraryExA still bound a host namesake. registry: xaudio2_9.dll ordinals 8-10 classify as hresult (host table measured: XAudio2CreateV2_9 / WithVersionInfo / WithSharedContexts); the redist's ordinal table is unconfirmed and stays other. import_inventory: classify parity for the #1 ordinals; the delay-import directory (entry 13) is read with the loader's checks; the descriptor table stops at Name == 0 and unreadable names fail like read_string; host-bound imports report as host instead of unimplemented thunk (owns_dll ported); thunk tables deduplicate by RVA under a global cap. Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>