How does one disassemble Pro*C/C++ programs? [closed]

此生再无相见时 提交于 2019-11-29 13:51:35
Kosi2801

In general there should be disassemblers available for executables, regardless how they have been created (gcc, proC, handwritten, etc.) but decompiling an optimized binary most probably leads to unreadable or source.

Also, Pro C/C++ is not directly a compiler but outputs C/C++ code which then in turn is compiled by a platform native compiler (gcc, xlc, vc++, etc.).

Furthermore the generated code is often not directly compilable again without lots of manual corrections.

If you still want to try your luck, have a look at this list of x86 disassemblers for a start.

Try PE Explorer Disassembler, a very decent disassembler for 32-bit executable files.

You should try disassembling with disassembler tool of your choice. At the end of the day, executables compiled with PRO C/C++ preprocessor are just plain C/C++ executables.

If what you're looking for is SQL sentences within your code, you might want to take a look at:

$ strings your_executable_file

It will give you a list of all constants strings present in your executable, and chances are that you are going to get SQL sentences with that.

Good luck.

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