Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a way to find all the functions exposed by a dll

Tags:

c++

c

dll

winapi

I've been searching for a way to get all the strings that map to function names in a dll.

I mean by this all the strings for which you can call GetProcAddress. If you do a hex dump of a dll the symbols (strings) are there but I figure there must me a system call to acquire those names.

like image 430
minty Avatar asked Jan 12 '09 23:01

minty


People also ask

How do I get a list of functions in a DLL?

If a DLL is written in one of the . NET languages and if you only want to view what functions, there is a reference to this DLL in the project. Then doubleclick the DLL in the references folder and then you will see what functions it has in the OBJECT EXPLORER window.

How do I see exported functions in a DLL?

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

What functions are in a DLL?

A DLL is a library that contains code and data that can be used by more than one program at the same time. For example, in Windows operating systems, the Comdlg32 DLL performs common dialog box related functions. Each program can use the functionality that is contained in this DLL to implement an Open dialog box.


1 Answers

If you have MS Visual Studio, there is a command line tool called DUMPBIN.

dumpbin /exports <nameofdll>
like image 137
Die in Sente Avatar answered Oct 04 '22 15:10

Die in Sente