rsc / goversion

Print version used to build Go executables
BSD 3-Clause "New" or "Revised" License
274 stars 23 forks source link

Does not detect modules info under Windows 64-bit #7

Open misha-ridge opened 5 years ago

misha-ridge commented 5 years ago

goversion fails to find modules table under Windows 64-bit: goversion searches it in .text while it is in .rdata.

misha-ridge commented 5 years ago

An example file where it fails: deadcode.zip

makon commented 5 years ago

Unfortunately your fix did not work for me, not sure why. The list was still empty in windows.

But the PR #9 did the trick, even with your deadcode.exe.