DR 9.0 Windows release missing dbghelp.dll for 32 bit

21 views
Skip to first unread message

Alexey Vishnyakov

unread,
Jan 10, 2022, 9:13:16 AM1/10/22
to DynamoRIO Users

assad.hashm...@gmail.com

unread,
Jan 11, 2022, 12:52:27 PM1/11/22
to DynamoRIO Users
The following dbghelp.dll files are in the release:

DynamoRIO-Windows-9.0.0/tools/bin64/dbghelp.dll: PE32+ executable (DLL) (console) x86-64, for MS Windows
DynamoRIO-Windows-9.0.0/ext/lib64/release/dbghelp.dll: PE32+ executable (DLL) (console) x86-64, for MS Windows
DynamoRIO-Windows-9.0.0/ext/lib64/debug/dbghelp.dll: PE32+ executable (DLL) (console) x86-64, for MS Windows
DynamoRIO-Windows-9.0.0/drmemory/bin/dbghelp.dll: PE32 executable (DLL) (console) Intel 80386, for MS Windows
DynamoRIO-Windows-9.0.0/drmemory/bin/release/dbghelp.dll: PE32 executable (DLL) (console) Intel 80386, for MS Windows
DynamoRIO-Windows-9.0.0/drmemory/bin/debug/dbghelp.dll: PE32 executable (DLL) (console) Intel 80386, for MS Windows
DynamoRIO-Windows-9.0.0/drmemory/bin64/dbghelp.dll: PE32+ executable (DLL) (console) x86-64, for MS Windows
DynamoRIO-Windows-9.0.0/drmemory/bin64/release/dbghelp.dll: PE32+ executable (DLL) (console) x86-64, for MS Windows
DynamoRIO-Windows-9.0.0/drmemory/bin64/debug/dbghelp.dll: PE32+ executable (DLL) (console) x86-64, for MS Windows

The files marked 'Intel 80386' are 32 bit and in DynamoRIO-Windows-9.0.0/drmemory/bin rather than DynamoRIO-Windows-9.0.0/ext/lib32

Are you experiencing problems because of their location?

pmvi...@gmail.com

unread,
Jan 11, 2022, 12:56:05 PM1/11/22
to dynamorio-users
The lack of ext/lib32 dbghelp.dll version causes a crash of custom DR client using drsyms on some Windows 10 versions.


--
You received this message because you are subscribed to a topic in the Google Groups "DynamoRIO Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/dynamorio-users/0eV6HWAgZf0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to dynamorio-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dynamorio-users/d46c6694-5b36-437f-ba88-935cdbbc8dben%40googlegroups.com.

Derek Bruening

unread,
Jan 21, 2022, 1:25:32 PM1/21/22
to dynamor...@googlegroups.com
DR makes a copy of the dbghelp.dll as a convenience since system-provided versions historically were old or inadequate in other ways.  It sounds like the CMake code that tries to find the library to copy for 32-bit is failing.  If you go to the Actions for the 9.0 release https://github.com/DynamoRIO/dynamorio/runs/4586665382 and search for dbghelp.dll you can see it's found by DR 64-bit, DrMem 32-bit an 64-bit, but not DR 32-bit.  Unfortunately the same is true for the VS2019 builds just added, which will soon be the default.

I would suggest filing an issue on this and if you could adjust the CMake code to check more paths to find the 32-bit version and submit a pull request that would be the best way forward.

You received this message because you are subscribed to the Google Groups "DynamoRIO Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dynamorio-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dynamorio-users/CAC%3DCLmPUjxqyxTqBX%3Db8G2dVdmqCcwgepmBdn1PQiydH_B8yeA%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages