DynamoRIO / dynamorio

Dynamic Instrumentation Tool Platform
Other
2.64k stars 559 forks source link

unknown API-MS-Win pseudo-dll #3041

Open illera88 opened 6 years ago

illera88 commented 6 years ago

Hi, I got this error:

[..]
<unknown API-MS-Win pseudo-dll api-ms-win-core-localization-obsolete-l1-2-0.dll>
<unknown API-MS-Win pseudo-dll api-ms-win-core-kernel32-private-l1-1-0.dll>
<Application C:\crackme_xor.exe (15740). Unable to load client library: import RegisterWaitForInputIdle not found in KERNELBASE.dll.>

I've checked and RegisterWaitForInputIdle its at kernel32.dll:

>dumpbin /exports "C:\Windows\System32\kernel32.dll" | grep RegisterWaitForInputIdle
       1190  4A5 00010B10 RegisterWaitForInputIdle

Should I do a PR adding both DLLs (pseudo-dll api-ms-win-core-localization-obsolete-l1-2-0.dll and pseudo-dll api-ms-win-core-kernel32-private-l1-1-0.dll) in here

https://github.com/DynamoRIO/dynamorio/blob/master/core/win32/loader.c#L1534 ??

Regards

derekbruening commented 6 years ago

Yes please.