How to decompile c++ dll? [duplicate]

久未见 提交于 2019-12-04 02:21:50

问题


I am doing research on reverse engineering. I am able to decompile .net dll files with reflector. But in reflector we can't decompile c++ dll files. Is there any other decompiler available to decompile c++ dll Files?


回答1:


It's not that easy. C++ gets translated into (sometimes) very optimized machine code.

There's a detailed article on http://www.codeproject.com/Articles/4210/C-Reverse-Disassembly containing more information.

Edit: or indeed, check out the links posted in comments by other people.




回答2:


Unlike CLR languages, C++ does not compile into CIL or any sort of bytecode. Moreover, C++ compilers do not store metadata so it's almost impossible to restore original code (custom types, classes, etc). Native code might be heavily optimized as well. However, you can try to recreate pure C code with HexRays for IDA Pro (it's not free though).



来源:https://stackoverflow.com/questions/19087775/how-to-decompile-c-dll

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!