• Alex Brainman's avatar
    debug/pe: use kernel32.dll in TestImportTableInUnknownSection · 048c9164
    Alex Brainman authored
    TestImportTableInUnknownSection was introduced in CL 110555 to
    test PE executable with import table located in section other than
    ".idata". We used atmfd.dll for that purpose, but it seems
    atmfd.dll is not present on some systems.
    
    Use kernel32.dll instead. kernel32.dll import table is located in
    ".rdata" section, so it should do the job. And every Windows
    system has kernel32.dll file.
    
    Also make TestImportTableInUnknownSection run on windows-arm,
    since windows-arm should also have kernel32.dll file.
    
    Updates #27904
    
    Change-Id: Ie005ee10e46ae0c06e83929d581e89f86c051eea
    Reviewed-on: https://go-review.googlesource.com/c/151137
    Run-TryBot: Alex Brainman <alex.brainman@gmail.com>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: 's avatarBrad Fitzpatrick <bradfitz@golang.org>
    048c9164
Name
Last commit
Last update
.github Loading commit data...
api Loading commit data...
doc Loading commit data...
lib/time Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTING.md Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README.md Loading commit data...
favicon.ico Loading commit data...
robots.txt Loading commit data...