Closed MolotovCherry closed 8 months ago
Okay. To anyone else who encounters this, this was caused by accidentally using an x86 developer console instead of spawning an x86_64 dev console. Dumpbin being x86 process can confuse things since the system will read from syswow64 in some cases even though you gave it the x64 path, giving you a different result than you'd expect
I tested this on
C:\Windows\System32\winmm.dll
, anddumpbin
gives me the following report:But when I call
.iter_name_indices
I am getting only 180, with quite a few of the names missing. Not only that, but many of the indexes returned do not match up with the actual functions that dumpbin is telling me, causing me to generate incorrect function -> index data