Get exported functions from a x86 DLL

Is there any way to get a list of the exported functions from a x86 DLL in C#? I know of Mono.Cecil that can decompile .NET DLLs to provide a list of the types/members, but searches come up blank when I search for x86 DLLs.

I’m looking at building a “DLL explorer” tool that lists the exported functions, enabling me to get a quick peek into DLLs and see the functionality.

Source: New Questions

1 Comment

  1. Digin Dominic

    You could try converting http://stackoverflow.com/a/4354755/613130 . It is written in C++ and uses some Windows API, but it should be possible to rewrite it in C#.

    Or you can catch the output of dumpbin /exports YourDll.dll

    Mmmmh… I’ve taken a look, and the ImageHlp methods are probably a little C#-unfriendly… and they aren’t Unicode compatible. 🙁

    Here http://stackoverflow.com/a/1128453/613130 there is another method, that seems to be a little simpler.

    Reply

Leave a Reply