11

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.

daniel kullmann
  • 13,653
  • 8
  • 51
  • 67

3 Answers3

14

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

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

6

Have you checked if Dependency Walker will work under wine?

http://dependencywalker.com/

(just a WAG)

How to use it on the command line (Run it from the same directory as the DLL):

wine /full/path/to/depends.exe /c /of:output.txt dynamic-library.dll
daniel kullmann
  • 13,653
  • 8
  • 51
  • 67
bcelary
  • 1,827
  • 1
  • 17
  • 17
  • 4
    gives me `err:module:import_dll Library MFC42.dll (which is needed by L"Z:\\tmp\\depends22_x64\\depends.exe") not found`, even though this very dll is active – phil294 Jul 06 '17 at 21:27
0

https://github.com/knik0/peinfo

works nicely. Tested with several Windows DLLs 64 bits