x64 win32.dll test failing: GetModuleFileName finds "hidden" dynamorio.dll on x64 win8
From bruen...@google.com on October 05, 2012 19:47:49
some kind of win8-specific caching perhaps that our removal from the ldr lists doesn't affect:
% ctest -V -R win32.dll UpdateCTestConfiguration from :C:/derek/dr/git/build_x64_dbg_tests/DartConfiguration.tcl Parse Config file:C:/derek/dr/git/build_x64_dbg_tests/DartConfiguration.tcl UpdateCTestConfiguration from :C:/derek/dr/git/build_x64_dbg_tests/DartConfiguration.tcl Parse Config file:C:/derek/dr/git/build_x64_dbg_tests/DartConfiguration.tcl Test project C:/derek/dr/git/build_x64_dbg_tests Constructing a list of tests Done constructing a list of tests Checking test dependency graph... Checking test dependency graph end test 16 Start 16: code_api|win32.dll
16: Test command: C:\derek\dr\git\build_x64_dbg_tests\bin64\drrun.exe "-s" "60" "-quiet" "-exit0" "-ops" "-stderr_mask 0xC -msgbox_mask 0 -dumpcore_mask 0xfd -staged -code_api " "-use_dll" "C:/derek/dr/git/build_x64_dbg_tests/lib64/debug/dynamorio.dll" "C:/derek/dr/git/build_x64_dbg_tests/suite/tests/bin/win32.dll.exe"
16: Test timeout computed to be: 1500
16: Found 3 of 5 expected modules
16: Didn't find module dynamorio.dll
16: Didn't find module win32.dll.dll.dll
16: Found 4 of 5 expected modules
16: Didn't find module win32.dll.dll.dll
16: win32.dll.dll.dll process attach
16: loaded win32.dll.dll.dll
16: Found 4 of 5 expected modules
16: Didn't find module dynamorio.dll
16: Found 5 of 5 expected modules
16: in import
16: Called import_me with 5, result is 10
16: win32.dll.dll.dll process detach
16: freed library
16: Found 3 of 5 expected modules
16: Didn't find module dynamorio.dll
16: Didn't find module win32.dll.dll.dll
16: Found 4 of 5 expected modules
16: Didn't find module win32.dll.dll.dll
1/1 Test #16
: code_api|win32.dll ...............***Failed Required regular expression not found.?egex=[^Found 3 of 5 expected modules
?idn't find module dynamorio.dll
?idn't find module win32.dll.dll.dll
?ound 3 of 5 expected modules
?idn't find module dynamorio.dll
?idn't find module win32.dll.dll.dll
?in32.dll.dll.dll process attach
?oaded win32.dll.dll.dll
?ound 4 of 5 expected modules
?idn't find module dynamorio.dll
?ound 4 of 5 expected modules
?idn't find module dynamorio.dll
?n import
?alled import_me with 5, result is 10
?in32.dll.dll.dll process detach
?reed library
?ound 3 of 5 expected modules
?idn't find module dynamorio.dll
?idn't find module win32.dll.dll.dll
?ound 3 of 5 expected modules
?idn't find module dynamorio.dll
?idn't find module win32.dll.dll.dll
$
earliest injection fixes it of course which is why I will probably not try to fix it (already spent some time looking into it, not worth any more) and why I split it out from issue #565 (closed)
Original issue: http://code.google.com/p/dynamorio/issues/detail?id=934