Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Linux tools to inspect Windows DLLs

I have to debug a problem with Windows DLLs, but I'm running Linux exclusively, so I was wondering whether there are (preferably command-line) tools to inspect Windows DLLs under Linux. What I'm looking for is mainly the list of exported symbols.

like image 970
daniel kullmann Avatar asked Jun 19 '12 11:06

daniel kullmann


People also ask

How do I inspect a DLL file?

Once you find the folder, hold the Shift key and right-click the folder to open the command prompt directly in that folder. Type "regsvr32 [DLL name]. dll" and press Enter. This function can add the DLL file to your Windows Registry, helping you access your DLL file.

Can Linux read DLL files?

Normal DLL files are Windows' linked libraries, so they cannot run on Linux directly, however it's possible to compile DLL files specifically for Linux using . NET Core.

Can Windows DLL be used in Linux?

Any solution is going to need a TCP/IP-based "remoting" layer between the DLL which is running in a "windows-like" environment, and your linux app. You'll need to write a simple PC app to expose the DLL functions, either using a homebrew protocol, or maybe XML-RPC, SOAP or JSON protocols.


1 Answers

Use "winedump -j export file.dll"
winedump is part of Wine

Homepage:
https://www.winehq.org/docs/winedump

like image 129
Guillermo Reisch Avatar answered Sep 28 '22 12:09

Guillermo Reisch