Is there any free native Windows DLL export functions viewer, which shows the function name, and a list of their parameters?
相关问题
- Keeping track of variable instances
- How to know full paths to DLL's from .csproj f
- How to get the maximum of more than 2 numbers in V
- javah not able to find android classes
- how to call a C++ dll from C# windows application
相关文章
- vs2017wpf项目引用dll的路径不正确的问题
- Accessing an array element when returning from a f
- Equivalent to window.setTimeout() for C++
- Determine if an executable (or library) is 32 -or
- How can I write-protect the Matlab language?
- Java Equivalent to iif function
- Native hooking in Android Client
- Are resource files compiled as UNICODE or ANSI cod
DLL Export Viewer by NirSoft can be used to display exported functions in a DLL.
If you don't have the source code and API documentation, the machine code is all there is, you need to disassemble the dll library using something like IDA Pro , another option is use the trial version of PE Explorer.
PE Explorer provides a Disassembler. There is only one way to figure out the parameters: run the disassembler and read the disassembly output. Unfortunately, this task of reverse engineering the interface cannot be automated.
PE Explorer comes bundled with descriptions for 39 various libraries, including the core Windows® operating system libraries (eg. KERNEL32, GDI32, USER32, SHELL32, WSOCK32), key graphics libraries (DDRAW, OPENGL32) and more.
alt text http://www.heaventools.com/img/tour2-2.gif
dumpbin from the Visual Studio command prompt:
C:\Users\Andrew\src2011\cryptography\cspsdk>dumpbin /exports csp.dll
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
Summary
you can use Dependency Walker to view the function name. you can see the function's parameters only if it's decorated. read the following from the FAQ:
How do I view the parameter and return types of a function? For most functions, this information is simply not present in the module. The Windows' module file format only provides a single text string to identify each function. There is no structured way to list the number of parameters, the parameter types, or the return type. However, some languages do something called function "decoration" or "mangling", which is the process of encoding information into the text string. For example, a function like int Foo(int, int) encoded with simple decoration might be exported as _Foo@8. The 8 refers to the number of bytes used by the parameters. If C++ decoration is used, the function would be exported as ?Foo@@YGHHH@Z, which can be directly decoded back to the function's original prototype: int Foo(int, int). Dependency Walker supports C++ undecoration by using the Undecorate C++ Functions Command.
Not sure about its parameters list, but following TotalCommander plugin is very useful.