Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Is there a way to disassemble Pro*C/C++ executable files?

like image 961
Ahmed Atia Avatar asked Feb 18 '09 09:02

Ahmed Atia


2 Answers

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.

like image 186
Kosi2801 Avatar answered Sep 28 '22 01:09

Kosi2801


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

like image 26
Wylder Avatar answered Sep 28 '22 02:09

Wylder