DynamoRIO / DynamoRIO/dynamorio

Issues with drsysms on Windows 10 v1809 64-bit

Open
#3,354 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
3.2k
Forks
629
Avg merge
2d 15h
Merged PRs (30d)
31

Description

On Windows 10 v1809 (latest version), it seems drsysms stopped working, at least in the official 64-bit builds.

Using any client that uses drsyms results in the following error:
Unable to load client library: import __dllonexit3 not found in msvcrt.dll
This was tested on cronbuild-7.0.17914. Example command line:
`bin64\drrun -t drcachesim -- notepad.exe`

I'm not exactly sure what causes this issue, but I can see that DynamoRIO releases come bundled with dbghelp.dll and that some imports are different - dbghelp.dll bundled with DR contains an import for __dllonexit in msvcrt, however dbghelp.dll in C:\Windows\System32 does not. On the other hand, msvcrt.dll in C:\Windows\System32 does still export __dllonexit, so I'm not sure why the "not found" message.

However, I found that deleting dbghelp.dll bundled in the official DR releases makes the issue go away. Is there any reason why DR releases come bundled with its own dbghelp.dll?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.