Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there any native DLL export functions viewer? [duplicate]

Is there any free native Windows DLL export functions viewer, which shows the function name, and a list of their parameters?

like image 615
Alon Gubkin Avatar asked Oct 10 '09 18:10

Alon Gubkin


People also ask

What is DLL export Viewer?

Description: DLL Export Viewer displays the list of all exported functions and their virtual memory addresses for the specified DLL files.

How do I view exported functions in a DLL?

The exports table of a DLL can be viewed by using the DUMPBIN tool with the /EXPORTS option.

How do I export a DLL function?

Exporting from a DLL Using __declspec(dllexport) You can export data, functions, classes, or class member functions from a DLL using the __declspec(dllexport) keyword. __declspec(dllexport) adds the export directive to the object file so you do not need to use a . def file.

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.


1 Answers

dumpbin from the Visual Studio command prompt:

dumpbin /exports csp.dll 

Example of output:

Microsoft (R) COFF/PE Dumper Version 10.00.30319.01 Copyright (C) Microsoft Corporation.  All rights reserved.   Dump of file csp.dll  File Type: DLL    Section contains the following exports for CSP.dll      00000000 characteristics     3B1D0B77 time date stamp Tue Jun 05 12:40:23 2001         0.00 version            1 ordinal base           25 number of functions           25 number of names      ordinal hint RVA      name            1    0 00001470 CPAcquireContext           2    1 000014B0 CPCreateHash           3    2 00001520 CPDecrypt           4    3 000014B0 CPDeriveKey           5    4 00001590 CPDestroyHash           6    5 00001590 CPDestroyKey           7    6 00001560 CPEncrypt           8    7 00001520 CPExportKey           9    8 00001490 CPGenKey          10    9 000015B0 CPGenRandom          11    A 000014D0 CPGetHashParam          12    B 000014D0 CPGetKeyParam          13    C 00001500 CPGetProvParam          14    D 000015C0 CPGetUserKey          15    E 00001580 CPHashData          16    F 000014F0 CPHashSessionKey          17   10 00001540 CPImportKey          18   11 00001590 CPReleaseContext          19   12 00001580 CPSetHashParam          20   13 00001580 CPSetKeyParam          21   14 000014F0 CPSetProvParam          22   15 00001520 CPSignHash          23   16 000015A0 CPVerifySignature          24   17 00001060 DllRegisterServer          25   18 00001000 DllUnregisterServer    Summary          1000 .data         1000 .rdata         1000 .reloc         1000 .rsrc         1000 .text  
like image 160
AndrewDover Avatar answered Sep 18 '22 17:09

AndrewDover