How to reverse a DLL into C++ code?

后端 未结 3 1092
青春惊慌失措
青春惊慌失措 2021-02-09 09:36

I know it\'s impossible to reverse a dll into a c++ code so I would like to collect as much as possible details from it. It\'s not my dll, so I don\'t have the source code of co

3条回答
  •  余生分开走
    2021-02-09 10:04

    You can see the list of exported functions by using the dumpbin tool. If C++ functions are exported, you might be able to infer parameters by the name mangling.

    You can extract all the resources from the DLL by just "opening" it as a file for resource viewing in Visual Studio. If the DLL is a COM based DLL, there's a small chance the Type Library is embedded as a resource inside it. And if you have the Type Library, you can #import it to reconstruct the header files for the public interfaces.

    That's about as good as it gets.

提交回复
热议问题